Uploaded image for project: 'Wicket'
  1. Wicket
  2. WICKET-4218

Add CachingResourceVersion#invalidate(IStaticCacheableResource) to manually purge cache entries

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 1.5.3
    • 1.5.4
    • wicket
    • None

    Description

      Add CachingResourceVersion#invalidate(IStaticCacheableResource) to manually purge cache entries.

      We had the uncommon requirement on the mailing list that a user needs to replace a static resource at runtime. I order to still use caching for resource versions a method to expire entries in CachingResourceVersion should be helpful.

      Adding this method to a concrete class should not affect API compatibility.

      Attachments

        Issue Links

          Activity

            People

              pete Peter Ertl
              pete Peter Ertl
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: