简体   繁体   English

更改CSS后刷新浏览器不起作用

[英]Refreshing browser does not work after changing CSS

When I change my css and save it, nothing is changing in my browser (Both firefox and safari) 当我更改CSS并保存时,浏览器中没有任何更改(firefox和safari)
When i reset safari and empty cache i see the changes on my website. 当我重置野生动物园并清空缓存时,我在网站上看到了更改。

I have never had this problem before, does anyone has a solution for me? 我以前从未遇到过这个问题,有人能为我解决吗?

Any help would be appreciated. 任何帮助,将不胜感激。

You could turn off the cache while you develop. 您可以在开发时关闭缓存。 In Firefox, insert about:config in the address bar and set: 在Firefox中,在地址栏中插入about:config并设置:

network.http.use-cache = false

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM