Jump to content

How to force CSS reload?


Recommended Posts

When we upload a change in CSS it is not visible on browsers that has seen our page before - our old CSS is used instead. We need to force full page reload (ctrl-f5 in chrome). This happens in Chrome, Firefox and on mobiles.

 

Disabling Smart Cache for CSS, recompiling smarty cache etc doesn't make a difference.

 

How can I force CSS reload after making changes?

 

Link to comment
Share on other sites

 

  • /themes/harry_fay/css/fonts.css
  • /themes/harry_fay/css/response-nav.css
  • /modules/addshoppers/static/css/shop.css

are not included in CCC compressed file and have a browser cache set to 7 days, is it one of this ones you modified?

 

 

We had problems will all css, including global css where we changed a background of the page. So we have two issues:

* some css are not included in CCC

* even the css that are included are cached

 

Is there something I could try?

Link to comment
Share on other sites

×
×
  • Create New...