WordPress.org

Ready to get started?Download WordPress

Forums

W3 Total Cache
[resolved] My CSS and JS files not gzipped (5 posts)

  1. jfl1
    Member
    Posted 3 years ago #

    I've set 'Enable HTTP (gzip) compression' everywhere in the Browser Cache page, but my CSS and JS files are not getting gzipped. At least not according to Google Page Speed, YSlow or pingdom.com.

    The compatibility test says 'mod_deflate / mod_gzip: Not installed'

    Could that be an explanation? I'm not sure why it says that because both my theme (Frugal) or the WP Super Cache plugin can gzip successfully.

    W3 Total Cache gives me great results, but without gzip the other benefits are worthless.

    Note : Those CSS and JS pages that don't get gzipped are also listed in my Minify 'file management' sections.

  2. jfl1
    Member
    Posted 3 years ago #

    Hi,

    after some tweaking, everything is minified succesfully and I don't have any more problems with my JS files

    I still have some text files that are not getting gzipped.

    They are :

    http://www.sceptique.ca/wp2/
    http://www.sceptique.ca/wp2/wp-content/themes/frugal_36/lib/css/reset.css
    http://www.sceptique.ca/wp2/wp-content/themes/frugal_36/lib/css/default.css

    Why would those 3 files not get gzipped?

  3. Frederick Townes
    Member
    Plugin Author

    Posted 3 years ago #

    Do you indeed not have mod_deflate or mod_gzip?

  4. jfl1
    Member
    Posted 3 years ago #

    Yes, I have mod gzip. WP plugins have a hard time detecting those mods on my server, for some reason.

    WP Super Cache gzips my home page fine. As for default.css, I realized later that WP Super Cache doesn't gzip it either. And reset.css is so tiny it hardly matters.

    Not having my home page gzipped is all that prevents me from making the switch to W3 Total Cache on my other websites. It gives me great results on every other level.

  5. Frederick Townes
    Member
    Plugin Author

    Posted 3 years ago #

    Wasn't able to duplicate this issue in testing on your server.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic