TG Cache
July 23rd, 2008 by Mark Ramm
Very useful cache decorator for TG1.
Not sure how I missed this one, but it’s definitely worth a look for anybody trying to scale a TG1 application.
Thinking about programming in new ways
Very useful cache decorator for TG1.
Not sure how I missed this one, but it’s definitely worth a look for anybody trying to scale a TG1 application.
Just one thing :
THANK YOU ! :)
The last two examples on that page suggest that perhaps expose() does too much. It makes me think that perhaps there are separate concerns being wrapped up into a single function (render and publish).
Clearly changing @expose would would be an incompatible change, but it could easily be implemented as three decorators: @expose, @render, and @publish where @expose is the same as it is now and @render/@publish provide the same functionality as separate concerns.