Gzip Compression

Posted in: Newspaper
Post count: 21

Hi, We have two questions.

1) We use vps for our website. We can do gzip compression from cpanel. Should we also add the code you gave us in the speed documentation?

The code you gave is:

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

2) In our cpanel we have an option of zlib.output_compression. Do we need to activate this feature from our cpanel? Is it related to the gzip compression?

Thank you!

Post count: 20688

Hi,

1. That is the code used for our live theme demo server, it is mentioned that the setup is different from server to server. Better check with your hosting provider for the best solution.

2. Can’t find much about zlib or what exactly it does, found a pretty complex topic here
https://stackoverflow.com/questions/20762094/how-are-zlib-gzip-and-zip-related-what-do-they-have-in-common-and-how-are-they

Thanks

Viewing 2 posts - 1 through 2 (of 2 total)
The forum ‘Newspaper’ is closed to new topics and replies.