Disabling Chrome cache for website development

后端 未结 30 1982
-上瘾入骨i
-上瘾入骨i 2020-11-21 06:49

I am modifying a site\'s appearance (CSS modifications) but can\'t see the result on Chrome because of annoying persistent cache. I tried Shift+refresh but it doe

30条回答
  •  耶瑟儿~
    2020-11-21 07:03

    Picture of reload menu

    1. Pull up the Chrome developer console by pressing F12 and then (with the console open):

    2. Right click (or hold left click) on the reload button at the top of the browser and select "Empty Cache and Hard Reload."

    This will go beyond "Hard Reload" to empty the cache entirely, ensuring that anything downloaded via javascript or etc. will also avoid using the cache. You don't have to mess with settings or anything, it's a quick 1-shot solution.

提交回复
热议问题