jupiterjs/javascriptmvc — Issue #39: Steal to support cache busting
Author: jtsoi
Created: 2012-02-23 15:39:33+00:00
State: open

(Moving to a new issue, as per Justin's request.)

As JMVC gets traction and is used more and more in production, there is a clear need for cache busting in steal.

Something along these lines:

Current way to load an app in prod is:

``````

What if there would be an option to add:
``````

Inspired by jQuery getScript cache busting.

The _ variable would propagate to all dependency calls steal makes.
This way you could change the _ variable to the build number for your app and be sure that
users always get the latest code and we can turn up cache to forever. (or git revision)

(Maybe "v" is a better varible than "_" )