When coding HTML, browser doesn't always detect changes

前端 未结 6 808
自闭症患者
自闭症患者 2021-01-21 11:11

When I\'m coding HTML and CSS and load the page in the browser to check changes, sometimes it doesn\'t update for a while. This obviously causes problems with incremental change

6条回答
  •  旧巷少年郎
    2021-01-21 11:27

    Sounds like your browser cache, you can test this by clearing it or doing a "hard refresh" to confirm.

    You will need to throw some no cache headers if you want to stop this permanently, you can do this from the web server or server-side code depending on your setup (see How to control web page caching, across all browsers?)

提交回复
热议问题