You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Martin Grigorov (JIRA)" <ji...@apache.org> on 2013/08/07 14:14:48 UTC

[jira] [Created] (WICKET-5307) Export resources' version cache attribute as request cycle metadata

Martin Grigorov created WICKET-5307:
---------------------------------------

             Summary: Export resources' version cache attribute as request cycle metadata
                 Key: WICKET-5307
                 URL: https://issues.apache.org/jira/browse/WICKET-5307
             Project: Wicket
          Issue Type: Improvement
          Components: wicket
    Affects Versions: 6.9.1, 7.0.0
            Reporter: Martin Grigorov
            Assignee: Martin Grigorov
            Priority: Minor


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.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira