This project is archived and is in readonly mode.

#558 ✓invalid
tvr

Asset Timestamping

Reported by tvr | January 16th, 2009 @ 08:50 PM

We utilize this concept in our application but through different mechanisms. I've included a link to a blog that explains the benefit of this better than I could (their site was down last I checked, you might need to find it in google cache).

Asset.javascript:


var script = new Element('script', {
 'src': source + '?' + new Date().getTime(),  //replace with file 'last modified' timestamp
 'type': 'text/javascript'
});

http://blog.hypsometry.com/archi...

Comments and changes to this ticket

  • Aaron Newton

    Aaron Newton February 18th, 2009 @ 11:30 PM

    • Assigned user changed from “Valerio” to “Aaron Newton”
    • Milestone cleared.
  • fakedarren

    fakedarren February 8th, 2010 @ 03:30 PM

    • State changed from “new” to “invalid”
    • Assigned user cleared.
    • Milestone cleared.

    This is not something I believe we intend to support, I'm afraid. It's down to the developer implementing if they wish to use http headers or whatever to manage caching.

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

Shared Ticket Bins

Tags

Pages