I'm working with a grails application deployed in tomcat6, and I want to be able to enable or disable server side page caching on a "page by page" basis. In other words, I want to be able to specify, "Cache page A, but do not cache pages B and C."
Is such a thing possible? If so, what is the best way to do this?
Thanks in advance.
Spring Cache插件允许您缓存控制器操作和服务方法调用,因此您可以注释可缓存的页面/操作,并保留不应该缓存的注释: http : //grails.org/plugin/springcache
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.