Ehcache 2.10.8 | 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-2019 | Software AG, Darmstadt, Germany and/or Software AG USA, Inc., Reston, VA, USA, and/or its subsidiaries and/or its affiliates and/or their licensors.
Innovation Release