Forums

[Plugin: WP Super Cache] wp super cahce, file not gizpped (3 posts)

  1. feelexit
    Member
    Posted 3 years ago #

    I have vps server it supports gzip. before I have both super cache and wp cache enabled, I can see my homepage is gziped. For some reasons, if super cache is on, I add new post but homepage never updated. I turned super cache off. now I checked again homepage is not gziped.

    I checked my .htaccess, yes rite now, it only gzip it if its super cached.

    RewriteCond %{HTTP:Accept-Encoding} gzip
    RewriteCond %{DOCUMENT_ROOT}/wp-content/cache/supercache/%{HTTP_HOST}/$1/index.html.gz -f
    RewriteRule ^(.*) /wp-content/cache/supercache/%{HTTP_HOST}/$1/index.html.gz [L]

    I am pretty sure I just need to modify my .htaccess file, but dotn know how to do it. btw, I also want to gzip .css and .js files and is it a good idea to gzip images ?

    thank you for your help.

  2. mprindle
    Member
    Posted 3 years ago #

    To see the gzip entry you have to be logged out of the WP dashboard. Log out, clear your browser cache, refresh your page and you should see the gzip entry at the bottom of the source.

  3. feelexit
    Member
    Posted 3 years ago #

    you didnt read my post. thats not what I am asking. but thanks for help.

Topic Closed

This topic has been closed to new replies.

About this Topic