Title: Browser cache function and gzip compression
Last modified: May 31, 2020

---

# Browser cache function and gzip compression

 *  Resolved [kerdezo](https://wordpress.org/support/users/kerdezo/)
 * (@kerdezo)
 * [6 years ago](https://wordpress.org/support/topic/browser-cache-function-and-gzip-compression/)
 * Hi Marko,
 * I’m not an IT man…
 * I have a shared hosting SSL(https) website
    I have a server side gzip compression
   enabled by Apache mod_deflate module.
 * Should I enable ‘Browser cache’ function in W3TC, (or that HTTP compression makes
   the same stuff as server side gzip)?
 * For first I wish to enable ‘Page cache’ and ‘Browser cache’ functions only.
 * Thanks in advance!

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Contributor [Marko Vasiljevic](https://wordpress.org/support/users/vmarko/)
 * (@vmarko)
 * [6 years ago](https://wordpress.org/support/topic/browser-cache-function-and-gzip-compression/#post-12919086)
 * Hello [@kerdezo](https://wordpress.org/support/users/kerdezo/)
 * Thank you for your inquiry and I am happy to assist you with this.
    In short,
   yes you should enable Browser Cache in W3TC as it offers much more than gzip,
   meaning cache-control header, expires header, Etag, etc. If Gzip compression 
   is already enabled you should not enable it in W3 Total Cache to avoid double
   compression. This being said make sure that Gzip is enabled (working on your 
   server) or you just have mod_deflate enabled. If you only have mod_deflate enabled(
   required for gzip compression), this means that you should also enable Gzip compression
   in W3 Total Cache to compress the files. If gzip compression is already doing
   its’job, then as mentioned, you should not enable in W3 Total Cache. To make 
   sure check your .htaccess file and see if there are any gzip rules outside of
   W3TC rules. Thank you!
 *  Thread Starter [kerdezo](https://wordpress.org/support/users/kerdezo/)
 * (@kerdezo)
 * [6 years ago](https://wordpress.org/support/topic/browser-cache-function-and-gzip-compression/#post-12919819)
 * Hi Marko,
 * Thanks for the swift respond.
    Now it’s clear. As I wrote – on server – not only
   mod_deflate is enabled but also Gzip compression is switched on through CPanel.
 * As you explained “Browser Cache in W3TC offers much more than gzip”, so I will
   
   first switch off my server side Gzip compression but keep the mod_deflate enabled
   and then enable Browser Cache in W3TC.
 * Thanks again for the explanation!
 * Have a nice day!
 *  Plugin Contributor [Marko Vasiljevic](https://wordpress.org/support/users/vmarko/)
 * (@vmarko)
 * [6 years ago](https://wordpress.org/support/topic/browser-cache-function-and-gzip-compression/#post-12920235)
 * Hello [@kerdezo](https://wordpress.org/support/users/kerdezo/)
 * You are most welcome!
    Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Browser cache function and gzip compression’ is closed to new replies.

 * ![](https://ps.w.org/w3-total-cache/assets/icon-256x256.png?rev=1041806)
 * [W3 Total Cache](https://wordpress.org/plugins/w3-total-cache/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/w3-total-cache/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/w3-total-cache/)
 * [Active Topics](https://wordpress.org/support/plugin/w3-total-cache/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/w3-total-cache/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/w3-total-cache/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Marko Vasiljevic](https://wordpress.org/support/users/vmarko/)
 * Last activity: [6 years ago](https://wordpress.org/support/topic/browser-cache-function-and-gzip-compression/#post-12920235)
 * Status: resolved