Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

It seems a browser ( or is it visual studio? ) is caching a stylesheet and thus any changes I make to


I’m using a stylesheet as part of a theme and it seems that both IE and Firefox ( or perhaps VS express edition) are caching this stylesheet, since any changes I make to a stylesheet ( such as changing attribute values etc ) aren’t reflected on the displayed page. Any idea how to prevent browser or visual studio from caching this stylesheet?


BTW – only stylesheet is cached, not the entire page

Also, when I've noticed that any changes made to a stylesheet aren’t reflected on a displayed page, I’ve switched from firefox to IE. The first time the page was loaded in IE, page was displayed as it should (reflecting all the changes I’ve made to the stylesheet), but then IE also started caching the stylesheet

thanx

like image 286
carewithl Avatar asked Dec 03 '22 13:12

carewithl


1 Answers

If you have Firefox with the Web Developer toolbar, you can easily disable caching. You can also use Ctrl+F5 to refresh the page. Holding Ctrl tells the browser to perform a forced refresh that ignores the cache.

like image 194
CalebD Avatar answered Dec 26 '22 08:12

CalebD