Reputation: 6025
I've been looking in Firebug
at the Net
tab where it shows the size of files.
A lot of high traffic sites seemingly have surprisingly small initial GET sizes for the url.
For example, GET www.hostmonster.com
comes in at 3.9KB. (Apologies to those who are offended by the example.)
If I put the hostmonster HTML source into an editor, though, it saves at 12KB. If I run it through an online compressor, it only reduces it to 11KB.
What is going on that it's down to 3.9KB?
Upvotes: 2
Views: 1315
Reputation: 15945
It's compressed, you can see the real size below the transferred amount:
Upvotes: 1
Reputation: 57322
you can use the either GZip or Deflate comparison for that you need to get the module on in Apache for Deflate its the deflate_module
and for Gzip its the mod_gzip
i would recommended the mod Gzip
to learn How to install mod_gzip
and the live example of the mod_gzip is below
Upvotes: 1
Reputation: 113282
GZip or Deflate compression.
Most often through the Content-Encoding header (though we're really all using it as a transfer encoding, but support for that is poor).
Upvotes: 1
Reputation: 1732
Use Gzipping. Check out the most recent CSS Tricks screencast it will take you through many techniques to speed up your site and will describe how to setup Gzipping much better than I can here.
Upvotes: 2