making graphic's caching optional for some static methods