Why Enable jsDebug?
Get debug versions of js files
If you use Firebug, or Internet Explorer's "Developer Tools", you will not be able to easily debug the combined and minified JavaScript files.jsDebug will give you access to the original uncompressed versions of the files.
Bust IE's cache
IE caches the responses for any js files loaded via PTC.navigation.loadScript() API. Without jsDebug enabled, IE browser just returns the cached version of the js file even if the timestamp of the js file in codebase is newer than that of the cached file. For active development it can be handy to enable jsDebug so you aren't working with cached js files in IE.
The Firefox browser loads the modified js file right away as expected.
|
To ensure patched js files would take effect regardless of browser caching, PTC.navigation.loadScript() adds a cache buster URL parameter to force reload of the js files at least every Sunday.
|