Class CachingProvider

java.lang.Object
org.apache.wiki.providers.CachingProvider
All Implemented Interfaces:
PageProvider, WikiProvider

public class CachingProvider
extends Object
implements PageProvider
Provides a caching page provider. This class rests on top of a real provider class and provides a cache to speed things up. Only if the cache copy of the page text has expired, we fetch it from the provider.

This class does not detect if someone has modified the page externally, not through JSPWiki routines.

Heavily based on ideas by Chris Brooking.

Since 2.10 uses the Ehcache library.

Since:
1.6.4