public interface RequestInfoCacheKeyFragmentCreator
Responsible for creating the cachekey fragment that will be part of the
PageCacheKey. Implementations should
PageCacheKey.setAttribute(String, java.io.Serializable) with value
If you have an application where you know that the requests for example always include some unimportant unique attribute
as a request queryString parameter, you can choose to hook in your own
that skips this queryString attribute. For example in general search engine crawlers have unique queryString parameters which
are not used by the application, but merely by the crawlers to make sure they fall through caching proxies like mod_cache, squid, varnish
or some CND etc in front of the application.
|Modifier and Type||Method and Description|
Creates a serializable request info object that represents the parts of the request that makes the request unique (and thus ensures unique requests have unique cachekeys)
Serializable create(HstRequestContext requestContext)
Copyright © 2008-2013 Hippo B.V. (http://www.onehippo.com). All Rights Reserved.