Interface IResourceCachingStrategy

    • Method Detail

      • decorateUrl

        void decorateUrl​(ResourceUrl url,
                         IStaticCacheableResource resource)
        add caching related information to filename + parameters
        Parameters:
        url - parameters to which caching information should be added and which will be used to construct the url to the resource
        resource - cacheable resource
      • undecorateUrl

        void undecorateUrl​(ResourceUrl url)
        Removes caching related information from filename + parameters. In essenese this method undoes what decorateUrl(ResourceUrl, IStaticCacheableResource) did.
        Parameters:
        url - parameters that were used to construct the url to the resource and from which previously added caching information should be stripped
      • clearCache

        void clearCache()
        Clears any stateful information