Can I force a refresh of my stylesheet file?

前端 未结 12 2202
-上瘾入骨i
-上瘾入骨i 2020-12-13 18:51

I have just spent half a day quietly going mad.

I\'m making changes to my classes in the Site.css file and they were not being reflected in the site being develope

12条回答
  •  轻奢々
    轻奢々 (楼主)
    2020-12-13 19:37

    The easiest way is to disable caching in your browser. If you can't or don't want to do this, you can press ctrl+f5.

    Your server or asp application might be caching, too. You can disable this in the web.config or you can restart the development server to make sure the latest version of your file is shown to the user.

提交回复
热议问题