2

When I upload changes in my html partial files of AngularJS there is a cache and the old data is shown. Just after a couple of refresh actions the changes are shown.

How can I make the changes available immediately?

Nimi
  • 571
  • 1
  • 6
  • 14

1 Answers1

2

if you are on chrome browser go to devTools F12

then click on the gear icon on the left and then tick "Disable cache(while DevTools is open)

Ali
  • 595
  • 4
  • 13
  • 38
  • It's not comprehensive solution. – Nimi Jun 01 '14 at 10:46
  • well as i understood it is not refreshing to the new markup in your html partial files , you need this to bypass caching while you are developing since once deployed partials markup will not change , or is the issue it is not getting the latest data from the model ? – Ali Jun 01 '14 at 13:08
  • if it is data thing then maybe it is something related to your webserver caching – Ali Jun 01 '14 at 13:09
  • No. It's not just about my browser. There is not an issue with the data from server but the static html. – Nimi Jun 01 '14 at 13:16