4 ms·
Would mod_deflate or equivalent (mod_gzip in older Apache versions, static and dynamic compression can be enabled easily in recent versions of IIS too) not do t
by dspillett 15y ago
Would mod_deflate or equivalent (mod_gzip in older Apache versions, static and dynamic compression can be enabled easily in recent versions of IIS too) not do this for you?
If you are worried about the CPU cost of the compression and added request latency, you can pre-compress static content with most modern web servers (see http://stackoverflow.com/questions/75482/how-can-i-pre-compress-files-with-mod-deflate-in-apache-2-x http://stackoverflow.com/questions/75482/how-can-i-pre-compr... for Apache info).
- engtech 15y agoIn this case, there are no servers. There are only local HTML files that are checked in to revision control and shipped alongside releases. HTML was chosen as the documentation file format because it's easy to find something to view it with.