javascript - some files not cached in requirejs - is that an issue? -


using requirejs developing application. noticed browser developer tools (attached) of files (router.js, views.js, model.js, etc.) cached "no". mean? wrong here?

enter image description here

no, isn't issue. cache of requirejs not client-side dependend. it's server-side dependent too. if not define correct headers (expires, max-age, etag, etc.), browser can not cache script, , result checking in developer tools.

i can cache busting, in url visible in screenshot, deactivated, , because can need check configurations in server(s).

good luck.


Comments

Popular posts from this blog

php - mySql Join with 4 tables -

css - Text drops down with smaller window -

c# - DetailsView in ASP.Net - How to add another column on the side/add a control in each row? -