Search code examples
asp.netjavascripthtmloptimizationfootprint

Good tool to minimize HTML footprint?


Does anyone know a good tool that can be run on a page (for asp.net, for example) to help to minimize the footprint size of the page?

The page will have typical items: HTML, Javascript, etc.

I've heard of Javascript crunchers in the past, that will make the size of the code as compact as possible (and obfuscate it, I suppose).

The goal is to help optimize the page size (make it as small as possible for speed, without changing anything).

Is this possible?


Solution

  • You could configure your web server to compress the page on the fly (and possibly cache the compressed version) for any client that indicates it can take a gzip or zip (or other) encoding, which is pretty much all of them.