Sep 18, 2008, 3:53 PM
[ADDED] [V0.6] Unique JavaScript Url's
We added a new feature to how the JavaScript (.js) include files are rendered to help prevent browser caching issues.
Now the url created for each .js file pulled from the assembly as an embedded resource is suffixed with the Assembly Revision number. The following example demonstrates the old and new urls.
Example
The "19901" is the Assembly (.dll) Revision number and will change each time the project is recompiled. With the addition of the new Revision number the browsers will treat the url as a new request and not pull from cache if the Assembly is replaced.
This should help when deploying new .dll's which might contain updates to the JavaScript files. Previously the url/file might otherwise have been cached by the end users browser.
This "unique JavaScript url" feature has been added to v0.6.
Hope this helps.
Now the url created for each .js file pulled from the assembly as an embedded resource is suffixed with the Assembly Revision number. The following example demonstrates the old and new urls.
Example
// Old
<script type="text/javascript" src="/extjs/ext-all-js/coolite.axd"></script>
// New
<script type="text/javascript" src="/extjs/ext-all-js/coolite.axd?19901"></script>
The key part is the new "?19901".The "19901" is the Assembly (.dll) Revision number and will change each time the project is recompiled. With the addition of the new Revision number the browsers will treat the url as a new request and not pull from cache if the Assembly is replaced.
This should help when deploying new .dll's which might contain updates to the JavaScript files. Previously the url/file might otherwise have been cached by the end users browser.
This "unique JavaScript url" feature has been added to v0.6.
Hope this helps.