Chrome在CSS更新后不加载新的样式 [英] Chrome not loading new styles after css update

查看:198
本文介绍了Chrome在CSS更新后不加载新的样式的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

自从上个星期以来,我遇到了与OSX上的Chrome版本54.0.2840.71有关的奇怪问题。不知何故,更新CSS后,刷新页面后新的样式不会被加载。



样式在浏览时的硬刷新(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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆