Package | Description |
---|---|
info.magnolia.module.cache | |
info.magnolia.module.cache.browsercachepolicy | |
info.magnolia.module.cache.cachepolicy | |
info.magnolia.module.cache.executor |
Modifier and Type | Method and Description |
---|---|
static CachePolicyResult |
CachePolicyResult.getCurrent()
Returns the current
CachePolicyResult which was set by the CacheFilter . |
CachePolicyResult |
CachePolicy.shouldCache(Cache cache,
info.magnolia.cms.core.AggregationState aggregationState,
FlushPolicy flushPolicy)
Implementations can chose whether to cache or not - but note that the
aggregationState might not be completely populated.
|
Modifier and Type | Method and Description |
---|---|
BrowserCachePolicyResult |
BrowserCachePolicy.canCacheOnClient(CachePolicyResult cachePolicyResult) |
void |
CachePolicyExecutor.processCacheRequest(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
javax.servlet.FilterChain chain,
Cache cache,
CachePolicyResult cachePolicyResult) |
static void |
CachePolicyResult.setCurrent(CachePolicyResult cachePolicyResult)
Saves the result in the context and makes it available by
getCurrent() . |
Modifier and Type | Method and Description |
---|---|
BrowserCachePolicyResult |
BrowserCachePolicySet.canCacheOnClient(CachePolicyResult cachePolicyResult) |
BrowserCachePolicyResult |
AbstractVoterBased.canCacheOnClient(CachePolicyResult cachePolicyResult) |
protected BrowserCachePolicyResult |
Never.getPositiveVoteResult(CachePolicyResult cachePolicyResult) |
protected BrowserCachePolicyResult |
FixedDuration.getPositiveVoteResult(CachePolicyResult cachePolicyResult) |
protected abstract BrowserCachePolicyResult |
AbstractVoterBased.getPositiveVoteResult(CachePolicyResult cachePolicyResult) |
Modifier and Type | Method and Description |
---|---|
CachePolicyResult |
Never.shouldCache(Cache cache,
info.magnolia.cms.core.AggregationState aggregationState,
FlushPolicy flushPolicy) |
CachePolicyResult |
Default.shouldCache(Cache cache,
info.magnolia.cms.core.AggregationState aggregationState,
FlushPolicy flushPolicy) |
Modifier and Type | Method and Description |
---|---|
protected CachedEntry |
Store.makeCachedEntry(javax.servlet.http.HttpServletRequest request,
CacheResponseWrapper cachedResponse,
Cache cache,
CachePolicyResult cachePolicyResult) |
void |
UseCache.processCacheRequest(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
javax.servlet.FilterChain chain,
Cache cache,
CachePolicyResult cachePolicy) |
void |
Store.processCacheRequest(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
javax.servlet.FilterChain chain,
Cache cache,
CachePolicyResult cachePolicyResult) |
void |
SetExpirationHeaders.processCacheRequest(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
javax.servlet.FilterChain chain,
Cache cache,
CachePolicyResult cachePolicyResult) |
void |
CompositeExecutor.processCacheRequest(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
javax.servlet.FilterChain chain,
Cache cache,
CachePolicyResult cachePolicy) |
void |
Bypass.processCacheRequest(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
javax.servlet.FilterChain chain,
Cache cache,
CachePolicyResult cachePolicy) |
Copyright © 2015 Magnolia International Ltd.. All rights reserved.