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

Reply via email to