Product Documentation : Ehcache Recipes : About the Recipes
About the Recipes
The recipes are a collection of concise examples for specific use cases that will help you get started with Ehcache.
If you have suggestions or ideas for more recipes, please tell us about them using the forums and mailing lists.
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.
Copyright © 2010-2015 Software AG, Darmstadt, Germany.

Product Logo |   Feedback