Recently my CSS files not updating to media/css_secure folder. I'm tried to kill cache but still its showing old CSS data. How to overcome to update my CSS. I am using Magento 1.9.2.2
2 Answers
Many times css is cached by server.
Try renaming your css from layout xml and skin folder.
Make sure you are not using any CDN.
Try unmerging css.
Rajiv,
If when you clear your cache the stamp on the CSS file stays the same, try turning merge CSS off in Sysytem > Configuration > Advanced > Developer. Clear the cache, then turn it back on to force Magento to recompile your CSS into a new merged file.
Hope this helps.
Josh
-
-
Ok, so if you turn merge CSS off and then flush the cache and reload the page, do you see file paths in dev tools to the normal un-merged files, eg.
styles.css
? Commented Mar 26, 2017 at 20:57