angularjs code changes do not show up after browser refresh

后端 未结 17 1573
北海茫月
北海茫月 2020-12-13 09:35

Any time, I make code changes in .hmtl file or the .js file, the browser still renders the old code and my new code changes don\'t show up in the browser result.

Fo

相关标签:
17条回答
  • 2020-12-13 10:10

    In chrome press F12>go to network tab> disable cache

    0 讨论(0)
  • 2020-12-13 10:10

    Or you can use Browserlink in Visual Studio 2013 to automatically reload the page

    http://www.asp.net/visual-studio/overview/2013/using-browser-link

    0 讨论(0)
  • 2020-12-13 10:10

    Just right click on the page reload button on the browser and choose "Empty cache and Hard Reload"

    0 讨论(0)
  • 2020-12-13 10:13

    Set HTTP Response headers to expire content through IIS manager.

    1. Open HTTP Response Headers module for you web application
    2. Click Set Common headers in the Actions pane

    https://www.iis.net/configreference/system.webserver/staticcontent/clientcache

    0 讨论(0)
  • 2020-12-13 10:14

    Open devTools in chrome and select Network tab, In Network tab Un-check the Disable cache and reload the page.

    0 讨论(0)
  • 2020-12-13 10:15

    Try disabling your cache with Dev Tools:

    https://developer.chrome.com/devtools/docs/settings#general

    0 讨论(0)
提交回复
热议问题