• So I was poking the bear with a sharp stick…..doing things I totally don’t understand. I’m hosted on godaddy, and couldn’t get gzip to work. W3 worked pretty well, every now and then things would totally hang. I wanted to see if I could make stuff work. Using my google-fu I found this bit o code.

    <?php if (substr_count($_SERVER['HTTP_ACCEPT_ENCODING'], 'gzip')) ob_start("ob_gzhandler"); else ob_start(); ?>

    Popped that in as the first line of my header.php and presto, gzip was on! Things were good for a while, until I realized that any pages I had which used custom templates wouldn’t load. Took a bit before I remembered about the above code. I removed it from the header.php and got my templates back. However I lost my css formatting.

    So I worked through what I could think of, upgraded to the newest dev version of W3, cleared all caches, reset everything. re-upped everything to my ftp cdn. Thats when I noticed only js mini was going up, no css. Took a look on my server, and no css mini. The css mini setting was active, links verify properly…

    But, css won’t mini, won’t go to cdn, and won’t display. For now I’ve turned off the css portion of mini, and I’m running. I’d love to get it back. Bonus points for getting my gzip going too!

    http://wordpress.org/extend/plugins/w3-total-cache/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Yea, you can’t do that. Why aren’t you just enabling gzip compression on the page cache settings tab? Anyway, try to deactivate / reactivate or even reinstall.

    Thread Starter Rev. Voodoo

    (@rvoodoo)

    I have the gzip compression on in the page cache setting tab….always have. It’s just never worked…

    I’ve also deactivated and reinstalled with the newest dev version. After deactivating, and then after reinstalling, I went through all the menus clearing all caches, reuploading everything to cdn, etc. The css is just getting ignored.

    Ok, submit a bug submission from the support tab of the plugin.

    My CSS isn’t working either. Once I put my custom CSS file (which is what my wordpress theme is using) into the custom list in the CDN settings section, my site breaks (CSS formatting).

    It seems like the browser doesn’t know how to handle the content type coming from the server. Any thoughts?

    If you submit a bug submission from the support tab of the plugin, I’ll confirm for your case.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘[Plugin: W3 Total Cache] I broke my css minification trying to get my gzip on!’ is closed to new replies.