Http Cache - Creating custom cache storeo
« back to HTTP Cache Table of Contents
Creating new Cache store
HttpCache framework allows multiple cache stores to co-exist at run time. Choice of cache store to be used can be made while configuring cache configs. Custom cache store should implement HttpCacheStore (com.adobe.acs.commons.httpcache.store.HttpCacheStore) interface.
Implementing the methods will result in a working store. The method getStoreType() must return a unique value that describes the store. This can be then used in the httpcache.config.cachestore
property in the HttpCacheConfig configuration, to use your custom store.