Deborah's Developer MindScape

         Tips and Techniques for Web and .NET developers.

May 15, 2015

Clearing the Internet Explorer Browser Cache

Filed under: AngularJS @ 10:49 am

When working on an Angular application, it is important to ensure that the browser does not keep prior versions of your JavaScript or other files cached. Otherwise, when you make a change to a JavaScript or HTML file and re-run the application, you may not see your changes.

Here are the steps to ensure that Internet Explorer does not cache your files:

1) Select the Tools icon and select Internet options:


2) Click the Settings button (on the General tab)


3) Select the desired option. I often pick “Every time I start Internet Explorer”



1 Comment

  1.   David — May 21, 2015 @ 12:23 pm    Reply

    Great work on PS Deborah. You really have a knack for teaching in layman’s terms, and I have found your courses on Angular to be invaluable. We were having problems with IE caching in our single page app – including the json data delivered from web api. Unfortunately, the problem was detected by the client and we ended up stuffing “no-cache” values for the Cache-Control/Pragma headers in our app.js configuration using the angular $httpProvider service ( $httpProvider.defaults.headers.get[“Cache-Control”] = “no-cache”). Hope that maybe helps someone.

RSS feed for comments on this post. TrackBack URI

Leave a comment

© 2019 Deborah's Developer MindScape   Provided by WPMU DEV -The WordPress Experts   Hosted by Microsoft MVPs