Dum Potato
Dum Potato

Reputation: 965

Why is gzip compression slower for me?

Why is http://storyfollower.com slower when I use gzip?

Check the data bellow:

With compression: Load time 1.99s Page size 586.2kB Perf. grade 83/100 Archived: http://tools.pingdom.com/fpt/#!/nE0Jnn7Hp/http://storyfollower.com

Without Compression Load time 835ms Page size 756.2kB Perf. grade 79/100 Archived: http://tools.pingdom.com/fpt/#!/nFmp4l3Ez/storyfollower.com

thanks

Upvotes: 6

Views: 2530

Answers (2)

Dum Potato
Dum Potato

Reputation: 965

A nice way to have both gzip and low cpu overhead is using a cdn and storing the gziped files there

Upvotes: 4

rodion
rodion

Reputation: 15029

Most of the overhead is waiting for the server to send data. I guess that is the time needed to compress the data.

Using compression for the page under test gains you very little: 587Kb -> 756Kb, so the CPU overhead is greater than what you gain from sending smaller data.

I'd suggest you try with another page which sends more data. If you don't have such pages, then using compression is probably not the best choice.

Upvotes: 5

Related Questions