Where did my CSS go?

Q: Your CSS styles were there one minute, appear to be in header.php but the page is not styled, What happend?

A1: Login and under the Performance >  Browser Cache menu and then the Cascading Style Sheets & JavaScript section, uncheck the  "Enable HTTP (gzip) compression" setting and Save, then Clear the cache. See image A1 below. Our web server is already compressing the output, and sometimes this setting prevents the compressed css from being properly loaded/decompressed by the browser.

 

A2: In the latest version of  w3 total cache (0.9.2) a new setting has been reported to cause an issue with CSS displaying in some browsers (safari). In the second image you will see Minify mode has been set to manual to fix this issue. 

 

 

A1 image

screen-capture-18.png

A2 image

screen-capture-1.png

Have more questions? Submit a request

Comments

Article is closed for comments.