Caching a whole rendered page is not always the best options, because some minor parts of the page can change from one user to another (e.g. login info).
In other situations, different perspectives can have common components and caching them can dramatically reduce page rendering time (typically a search results).
Inspired from the very good UiPerformance and springcache and based on ehCache, we propose an idea to go a bit further and cache either template rendering or a piece of gsp.
Friday, September 16, 2011
Sunday, September 11, 2011
A complex grails page if often a cascade of templates rendering, nested in each others.
Optimizing page views starts with profiling which template takes time and which template is called by which one.
We offer a capture mechanism of all