Chrome在CSS更新后不加载新的样式 [英] Chrome not loading new styles after css update
问题描述
样式在浏览时的硬刷新(CMD + Shift + R)以隐身方式。
在Firefox或Safari中不会发生这种情况。任何人有相同的问题或知道如何解决这个问题?
这可能有所帮助。在浏览器中打开开发工具,然后右键点击刷新按钮。菜单将打开。选择清空缓存并重新加载。
< img src =https://i.stack.imgur.com/RGzui.pngalt =在这里输入图片描述>
如果这个如果有一些缓存只是删除这些缓存与您的网页相关。
Since the last week I'm running into a weird issue related to Chrome version 54.0.2840.71 on OSX. Somehow after updating the CSS the new styles are not loading after refreshing the page.
Styles are not loaded either after a hard refresh (CMD+Shift+R) of when browsing in incognito modus.
This doesn't happen in Firefox or Safari. Anyone else having the same issue or know how to fix this?
This may help. Open dev tools in browser then right click on refresh button of chrome. A menu will open. Select empty cache and hard reload.
If this is also not working then quit browser and try after relaunching.
Also look at chrome://appcache-internals/ for your page if there are some caches just delete those caches related to your page.
这篇关于Chrome在CSS更新后不加载新的样式的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!