Wicket
  1. Wicket
  2. WICKET-5307

Export resources' version cache attribute as request cycle metadata

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 6.9.1, 7.0.0-M1
    • Fix Version/s: 6.10.0, 7.0.0-M1
    • Component/s: wicket
    • Labels:
      None

      Description

      It would be nice if the IResourceCachingStrategies provided Wicket export the extracted version for the lifecycle of the request.

      An application may need this version to be able to check later whether the requested resource is the one that the system will actually deliver.
      E.g. web container 1 may deliver the page markup to the browser and then disappear due to upgrade. Then all requests for the resources in that page will be automatically redirected to web container 2 that may have new versions of the resources. In this case the application may return 302/303 (redirect) or 404 (Not found) or whatever is the best for the case.

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            Martin Grigorov
            Reporter:
            Martin Grigorov
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development