Disabling Chrome cache for website development

后端 未结 30 1538
-上瘾入骨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:16

    1. F12 to open Chrome DevTools
    2. F1 to open DevTools Settings
    3. Check Disable cache (while DevTools is open) as shown below:

    This is currently on the Preferences tab which is the default. You may need to scroll down. This checkbox has been moved at least a couple times since this question was asked. Last I checked, it was in the middle column at the bottom. If you have it open on a thinner screen and there are 2 columns under Preferences, it may be near the top right. Feel free to update this post if it changes or comment and I'll update the post.

提交回复
热议问题