Recipe | Description |
How to use the included servlet filters to cache web pages and web page fragments. | |
How to configure a Grails application for clustered Hibernate 2nd-level cache. | |
How to maintain cache "freshness" by configuring time-to-live and data expiration properly. | |
Why caching empty values can be beneficial to deflect load from the database. | |
When many readers simultaneously request the same data element, it is called the "thundering herd" problem. How to prevent it in a single JVM or a clustered configuration. | |
Writing to the database is a bottleneck. Configure the Ehcache write-behind feature to offload database writes. | |
Adding caching to methods using the Ehcache annotations for Spring project. | |
A simple class to make accessing Ehcache easier for simple use cases. |