Forum

Content-Encoding compression of dynamically-generated content?

Al
24 June 2009, 05:12
I see that there's the UseGZfile config option for serving pre-gzip'ed files using the Content-Encoding: gzip header, but couldn't see any reference to support for compressing dynamically-generated content (eg. output of a CGI script).

Is this currently possible? If so, how can this be enabled?

Thanks,
Al

Hugo Leisink
24 June 2009, 21:09
Dynamically generated content-encodig is not something Hiawatha does. You should do that in your CGI script.
Luc
22 July 2009, 12:38
I guess that limits the number of languages that can be used. Many do not provide any way to gzip content and output it properly to a browser.
Hugo Leisink
25 July 2009, 15:15
Almost all languages support executing external programs. You can use /bin/gzip to zip your content.
This topic has been closed.