cacheable_attr
I published cacheable_attr about two months ago and finally found time to post up here.
Simply declare an attribute as cacheable with a TTL and define a method with that attribute name with “_uncached” at the end of the method name. This allows you to bypass caching at anytime by calling the “uncached” method, if needed.
Post a comment