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

Disable caching for particular resources.

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 1.5.5, 6.0.0-beta1
    • 6.0.0-beta2
    • wicket
    • None

    Description

      Currently it is possible to disable resources versioning by :
      getResourceSettings().setCachingStrategy(NoOpResourceCachingStrategy.INSTANCE);

      Unfortunately this disables caching for every resource, it would be nice to disable caching for particular (package) resource, something like:
      PackageResourceReference res = new PackageResourceReference(....);
      res.setCashable(false);

      Caching in general is good think but some javascript libraries get broken when filenames are modified with "ver..." token.

      Regards

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: