django css文件已缓存 [英] django css file cached

查看:59
本文介绍了django css文件已缓存的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个CSS文件,我想对其进行修改以满足我的需要.问题是它似乎被缓存在某个地方,因为无论我在css文件中做什么,我都看不到更改.我确定我指向的是正确的文件,因为到目前为止,我已经对其进行了修改,并且可以正常工作.有什么设置可以关闭缓存吗?谢谢!

I'm having a css file and i want to modify it to fit my needs. The problem is that it seems to be cached somewhere, as i just cannot see the changes, no matter what i do in the css file. I am sure i am pointing to the right file, as by now i'v modified in it, and it worked. Is there any setting so that i can turn the cache off? Thanks!

推荐答案

只需进入您的站点,查看源代码,然后将链接复制到CSS文件即可.验证链接,验证它是否已被修改.通过浏览器手动刷新CSS文件以获取最新版本.

Just go into your site, view source, and copy the link to your CSS file. Verify the link, verify it's being modified. Refresh the CSS file manually via your browser to get the latest.

这不是Django问题.

This isn't a Django issue.

这篇关于django css文件已缓存的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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