Clear cached JavaScript includes in Firefox

后端 未结 6 1654
生来不讨喜
生来不讨喜 2021-02-01 18:05

I\'m working on JavaScript for a site, developing with Firefox, and when I refresh the page, I don\'t see my changes. The JavaScript file is in an external file. I reloaded and

6条回答
  •  [愿得一人]
    2021-02-01 18:45

    • The web developer toolbar add-on has an option to let you disable caching.
    • Firebug also does this. It is in the menu of the Net panel and is called Disable Browser Cache.

    To bypass cache for one time in Firefox:

    • Click the reload button while holding the shift key.
    • Ctrl+F5
    • Ctrl+Shift+R or Cmd+Shift+R
    • for other browsers

    Some web hosting services do cache the page server-side. When bypassing cache, web browsers will send a header to tell the server that it should not respond with the cached data.

提交回复
热议问题