Live data from Hacker News

Paul Buchheit: Make your site faster and cheaper to operate in one easy step

paulbuchheit.blogspot.com

1–10 of 60 posts

Re: Paul Buchheit: Make your site faster and cheaper to operate in one easy step

#2
Umm I am confused. Is this about compressing the web page itself? I think what takes most of the time to load on my website is the advertisers rather than the content itself. So perhaps this is about large websites like amazon which have large detabases?

Re: Paul Buchheit: Make your site faster and cheaper to operate in one easy step

#4
post #2

Umm I am confused. Is this about compressing the web page itself? I think what takes most of the time to load on my website is the advertisers rather than the content itself. So perhaps this is about large websites like amazon which have large detabases?

I think what he means is just enabling transportation of compressed data from server to client, regardless what you are transporting. The size of your page does not affect the benefits you achieve with this method, which is always less data being transported.

Re: Paul Buchheit: Make your site faster and cheaper to operate in one easy step

#7
post #5

One scenario where using gzip might not be a good idea is when serving content less than 2-4 kB, like some thumbnails.

Gzipping images is generally not a good idea. PNG/GIF/JPEG are already highly compressed and will probably grow in size if you attempt to gzip them.

Re: Paul Buchheit: Make your site faster and cheaper to operate in one easy step

#8
post #5

One scenario where using gzip might not be a good idea is when serving content less than 2-4 kB, like some thumbnails.

When you serve thumbnails in an already compressed format like PNG, JPEG, GIF, then it should not make any sense to gzip them anyway.

Re: Paul Buchheit: Make your site faster and cheaper to operate in one easy step

#9
That's only one of the needed steps. Adjust your headers so that static items are not reloaded frequently. Use versioned urls (e.g., /scripts/main.js?234) and update the versions only when you change the scripts or CSS. YSlow goes a long way in helping with that kind of stuff.

The same applies for S3 uploads. You can pass cache headers in the upload request which will later be used on all downloads.

Post reply on HN