Tagged: 

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #91852
    Mel
    Guest

    Hi,

    I read in a W3 Total Cache support post:

    Performance>Browser Cache uses Gzip compression. You need to make sure that mod_deflate is installed/enabled on your server so you can use Gzip compression.

    My hosting server says:

    To be able to use gzip, you have to activate the function in a .htaccess entry. To do this, edit the existing .htaccess file in the affected web space on your website. Now add the following code at the end of the file:

    <IfModule mod_deflate.c>
    <filesMatch “\.(js|css|html|php)$”>
    SetOutputFilter DEFLATE
    </filesMatch>
    </IfModule>

    I checked the .htaccess file on server and there is some code already added by W3 Total Cache regarding Browser Cache. It starts with # BEGIN W3TC Browser Cache.

    Could you please let me know I still need to add the above code as suggested by the server, or is this is already included in this code added by W3 Total Cache. Is it save to paste this code here, is this a public forum? Do you need to see it to check?

    Thanks
    Mel

    #91882
    Marko Vasiljevic
    Keymaster

    Hello Mel,

    Thank you for reaching out!
    The W3 Total Cache has the gzip option in Performance>Browser Cache. Once enabled, W3TC adds the necessary rules to the .htaccess file.
    I’ve checked your website and all your files are gzipped so there is no need to add the mentioned rule.
    As for the Gzip compression, you are all set and your website files are gzip compressed.

    Thanks!

    Gzip

    #91886
    Mel
    Guest

    Hi Marco,

    Thanks for your reply and for checking my website. Great that the website files are now gzip compressed.

    Thanks
    Mel

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Browser Cache & Gzip Compression’ is closed to new replies.