javascript - Disable caching for ExtJs app -


we have extjs 5.01 app built sencha cmd 5.0.1.231.

the issue facing browsers seem cache old version of our application. on looking @ network traffic on chrome when our application served, can see app.js, app.css files have ?_dc={timestamp} appended them. now, tells me every time new version of app released (which updates timestamp), browsers should new version. seems still old version served.

is there else need bust cache?

thanks

i don't why "sometimes" browser caching files, when caching disabled default. force framework use cache whenever possible, putting peace of code in app.js:

ext.loader.setconfig({     enabled: true,     disablecaching: false }); 

while developing open devtools , set disable cache (while devtools open). not allow chrome cache files.

but in app.json forcing "caching" local storage setting "update" or "appcache". check localstorage , app.json verify.


Comments

Popular posts from this blog

javascript - Chart.js (Radar Chart) different scaleLineColor for each scaleLine -

apache - Error with PHP mail(): Multiple or malformed newlines found in additional_header -

java - Android – MapFragment overlay button shadow, just like MyLocation button -