Tuesday, May 24, 2016

Javascript being cached during development time by Visual Studio and Internet Explorer

So I am working on this website and need to make some changes to a javascript file in the site. The changes I made was to disable elements of div containers having a particular tag. I make the change and hit F5.

The divs are not disabled. I add a break point to the JavaScript file in Visual Studio and see that the break point is not enabled indicating that something is amiss. The changed JavaScript was not loaded at all.

Searching this led me to the following post on StackOverflow.

The answer essentially is to do a CTRL+F5 or try to open the link in a different browser.

No comments:

Post a Comment