Class ConfluenceCachingFilter

  • All Implemented Interfaces:
    javax.servlet.Filter

    public class ConfluenceCachingFilter
    extends com.atlassian.core.filters.cache.AbstractCachingFilter
    Provides a list of caching strategies to use with Confluence. The fallback strategy is PreventCachingStrategy. Other strategies should be inserted ahead of this strategy.

    See also com.atlassian.confluence.plugins.restapi.filters.RestApiCacheControlHeadersFilterFactory and com.atlassian.confluence.plugins.rest.filter.PrototypeApiCacheControlHeadersFilterFactory which set the cache headers for some of our REST APIs using Jersey mechanisms.

    See Also:
    RssCachingStrategy, AttachmentCachingStrategies, PreventCachingStrategy
    • Constructor Detail

      • ConfluenceCachingFilter

        public ConfluenceCachingFilter()
    • Method Detail

      • getCachingStrategies

        protected com.atlassian.core.filters.cache.CachingStrategy[] getCachingStrategies()
        Specified by:
        getCachingStrategies in class com.atlassian.core.filters.cache.AbstractCachingFilter