diff --git a/templates/js-template-default/main.js b/templates/js-template-default/main.js index 56bfaaadc4..cf03d3beb3 100644 --- a/templates/js-template-default/main.js +++ b/templates/js-template-default/main.js @@ -23,8 +23,9 @@ // "frameRate" set the wanted frame rate for your game, but the real fps depends on your game implementation and the running environment. "noCache" : false, - // Set "noCache" to true can make the loader ignoring the html page cache while loading your resources, - // especially useful in Android web browsers. + // "noCache" set whether your resources will be loaded with a timestamp suffix in the url. + // In this way, your resources will be force updated even if the browser holds a cache of it. + // It's very useful for mobile browser debuging. "id" : "gameCanvas", // "gameCanvas" sets the id of your canvas element on the web page, it's useful only on web. diff --git a/templates/js-template-runtime/main.js b/templates/js-template-runtime/main.js index 0cff41c312..1cc53ae4d2 100644 --- a/templates/js-template-runtime/main.js +++ b/templates/js-template-runtime/main.js @@ -23,8 +23,9 @@ // "frameRate" set the wanted frame rate for your game, but the real fps depends on your game implementation and the running environment. "noCache" : false, - // Set "noCache" to true can make the loader ignoring the html page cache while loading your resources, - // especially useful in Android web browsers. + // "noCache" set whether your resources will be loaded with a timestamp suffix in the url. + // In this way, your resources will be force updated even if the browser holds a cache of it. + // It's very useful for mobile browser debuging. "id" : "gameCanvas", // "gameCanvas" sets the id of your canvas element on the web page, it's useful only on web. diff --git a/tests/js-tests/main.js b/tests/js-tests/main.js index c5cb70295f..0a1e22bb9c 100644 --- a/tests/js-tests/main.js +++ b/tests/js-tests/main.js @@ -45,6 +45,11 @@ "frameRate" : 60, // "frameRate" set the wanted frame rate for your game, but the real fps depends on your game implementation and the running environment. + + "noCache" : false, + // "noCache" set whether your resources will be loaded with a timestamp suffix in the url. + // In this way, your resources will be force updated even if the browser holds a cache of it. + // It's very useful for mobile browser debuging. "id" : "gameCanvas", // "gameCanvas" sets the id of your canvas element on the web page, it's useful only on web.