Adds cache bursting to production mode
Package installer bumps CDF version, we make sure to purge the angular cache initial js loader gets a cache burst as well
This commit is contained in:
@@ -89,11 +89,15 @@ namespace Umbraco.Web.UI.JavaScript {
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to yepnope.addFilter(function (resourceObj) {
|
||||
/// var url = resourceObj.url;
|
||||
/// var _op = "?";
|
||||
/// if(url.indexOf("lib/") === 0 || url.indexOf("js/umbraco.") === 0){
|
||||
/// return resourceObj;
|
||||
/// }
|
||||
/// if(url.indexOf("?") > 0){
|
||||
/// _op = "&";
|
||||
/// }
|
||||
///
|
||||
/// resourceObj.url = resourceObj.url + "?umb__rnd=" + (new Date).getTime();
|
||||
/// resourceObj.url = resourceObj.url + _op + "umb__rnd=" + (new Date).getTime();
|
||||
/// return resourceObj;
|
||||
///});.
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user