Class MyCacheStrategy

    • Constructor Detail

      • MyCacheStrategy

        public MyCacheStrategy()
    • Method Detail

      • noCache

        public boolean noCache​(String path)
        Description copied from interface: WebResourceRoot.CacheStrategy
        Should the result of looking up the resource at the given path be excluded from caching?
        Specified by:
        noCache in interface WebResourceRoot.CacheStrategy
        Parameters:
        path - The path to check against the strategy to see if the result should be cached
        Returns:
        true if the result should not be cached, otherwise false