Yesterday I released the new version of the Springcache plugin for Grails. The new feature this brings to the table is page fragment caching driven by annotations on controller actions. The feature is based on EhCache Web and is even simpler and more powerful than the full page caching I blogged about recently.
With the page fragment caching feature you can:
@CacheFlushannotations on controller actions.
Have SiteMesh decorate cached and uncached output alike.
Use SiteMesh to mix dynamic page sections with cached sections.
Use SiteMesh and
<g:include>to have multiple areas of the page that are cached and flushed independently of one another.
Cache the output of controller actions that use content negotiation separately according to the requested format.