TG Cache

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.

2 Responses to “TG Cache”


  1. Just one thing :
    THANK YOU ! :)

  2. 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.

Comments are currently closed.