Ehcache 2.10.5 | Related Documentation | Web Cache User Guide | Caching Web Pages and Page Fragments | Sample Use Case
 
Sample Use Case
The following describes an example of how to use the included filters to cache web pages and web page fragments.
Problem
You'd like to improve the time it takes to return a page from your web application. Many of the pages in your application are not time- or user-specific and can be cached for a period of time.
Solution
Cache the entirety of the web page, or a fragment of the web page for a period of time. Rather than having to generate the page on each page hit, it will be served out of the cache.
Modern application hardware is able to serve as many as 5,000 pages per second, affording a significant speedup in your application for pages that are frequently read but infrequently change.

Copyright © 2010-2018 | 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