Wed like to decrease the download size of our home page by using HTTP 1.1 compression – does APGen support this?
There are two types of compression you can use: HTML compression, which reduces file size for clients that don’t support HTTP 1.1 compression; and HTTP 1.1 compression. We suggest using both to minimize download size for all clients. HTML compression involves removing unnecessary whitespace and comments. The Output.BufferContents page shows how to compress the output of an APG script so the resulting output file is smaller. IIS 5.0 includes HTTP 1.1 compression, for both dynamic and static pages. Compressing static pages is more efficient, because dynamic pages have to be recompressed on the fly for every page view, whereas compressed static pages are cached by IIS. The best choice for speeding up your home page and download speed is to make it static with APGen, and then use IIS 5.0 to compress the page. IIS 5.0 is smart enough to send the compressed page only if the browser supports HTTP compression.