Disabling Chrome cache for website development

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

    I have used the other options described above but I find that the best is to add the following parameter to the startup of chrome.exe.

    "C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" --disk-cache-size=1 -media-cache=1

    I find not disabling media cache is a good idea but it is here for completeness sake.

    In actuality I want an option to completely disable the cache, to use the memory for IO instead of my disk (which would make load time 10x faster too!) but I don't think chrome or any browser for that matter has that option yet.

提交回复
热议问题