Using the Springcache Plugin
The Springcache plugin allows you to easily add the following functionality to your Grails project:

Caching of Spring bean methods (typically Grails service methods).

Caching of page fragments generated by Grails controllers.

Cache flushing when Spring bean methods or controller actions are invoked.
The plugin depends on the Ehcache and Ehcache-Web libraries. For more information, see the Springcache Plugin (part of the Grails project) at
http://grails.org/plugin/springcache.