Home  >  Q&A  >  body text

javascript - What to do if the automatic refresh tool browser-sync has cache

The js has been modified. After automatic refresh, the js content has not changed and needs to be manually refreshed to take effect.

Can this problem be solved without setting the browser configuration?

阿神阿神2734 days ago611

reply all(1)I'll reply

  • 世界只因有你

    世界只因有你2017-05-19 10:42:41

    Add hash or timestamp to the js file name. In short, just let the browser think that the Js files are different.

    reply
    0
  • Cancelreply