cache method based attributes