Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Output Compression Level in opencart

Can someone please explain what GZIP Output Compression Level is and how it affects OpenCart. I see that you can set the GZIP Output Compression Level in the Admin->System-Settings->Server Tab. I guess you can set to a value between 0 and 9. What does 0 mean, what does 9 mean? How can I tell what the best setting should be for my website?

like image 320
Natasha Avatar asked Sep 12 '12 05:09

Natasha


1 Answers

Output compression is the compression level sent for gzipped content sent from the server to your customer's browsers. Basically if your customer's browsers allow for gzipped content, it will be sent to them. This has the benefit of a smaller download and therefore a quicker transfer of data, saving time and bandwidth

As for the number differences, 0 is no compression, 9 is the maximum compression. Note that the higher the number, the more it affects your server performance. You may or may not notice the difference depending on your server, but it's advised to enable the gzip output. This will also increase your google page speed scores

like image 155
Jay Gilford Avatar answered Nov 04 '22 06:11

Jay Gilford