Disabling Chrome cache for website development

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

    Actually if you don't mind using the bandwidth it is more secure for multiple reasons to disable caching and advised by many security sites.

    Chromium shouldn't be arrogant enough to make decisions and enforce settings on users.

    You can disable the cache on UNIX with --disk-cache-dir=/dev/null.

    As this is unexpected crashes may happen but if they do then that will clearly point to a more severe bug which should be fixed in any case.

提交回复
热议问题