Versioned resources to encourage browser caching

2009-10-15 Thread Martijn Dashorst
Would it be possible to generate resource paths with a version string in them so that browsers will cache resources, but request new ones when a version has been bumped? e.g. http://example.com/resources/org.apache.wicket/wicket-1.4.1/wicket-ajax.js

Re: Versioned resources to encourage browser caching

2009-10-15 Thread Matej Knopp
We have already a setting that will append last modified time to resource URL. -Matej On Thu, Oct 15, 2009 at 6:19 PM, Martijn Dashorst martijn.dasho...@gmail.com wrote: Would it be possible to generate resource paths with a version string in them so that browsers will cache resources, but

Re: Versioned resources to encourage browser caching

2009-10-15 Thread Juergen Donnerstag
I saw this link being referenced recently. Ignore the name speed up caching etc. The entry also talks about resource versioning etc. This leads to another question though: How to get a version for each resource? Using your application’s version (if you have one) might be appropriate but depends