Pinpointing bottlenecks
Before diving in and making changes to your website, it makes sense to first look at a few common bottlenecks and the extent in which they affect your site. That helps you prioritize areas with high expected payoff.
Each potential bottleneck has a subsection that helps you find out whether it applies to you. After you identify the bottlenecks that need fixing, turn to the corresponding subsections in the Fixing bottlenecks section to fix them.
Compression
Compression is so effective, that it alone may be enough to make the time to last byte acceptable for your site.
Your main .aspx
file and the CSS and JavaScript files it uses are all text files. Because they contain a lot of white space and many repeating keywords, they are highly compressible by algorithms such as GZIP. Compressing an HTML file to one-third its size or less is common.
Because of this, IIS from version 5 onwards has supported compression of outgoing text files, using either the deflate or GZIP compression...