[Buildbot-devel] no gzip compression on html logs?
warner-buildbot at lothar.com
Sat Jun 18 01:12:06 UTC 2005
> Filed issue #1222924
Hm, good point. It'll be a twisted.web thing, I'll poke around to see if
there's a way to do compressed encoding. It'll increase your CPU load, since
the data will have to be compressed on the fly each time the log is served
(logs are each stored in their own file, but not in a form that can be
immediately streamed out to HTTP, since the chunks have to be turned into
HTML first). But with a big CPU that shouldn't be too much of an issue.
It might require a newer Twisted, in which case I'll see if I can make it
take advantage of the new functionality when available and not when it isn't.
> P.S. It's also a little weird that it is using chunked encoding. Is
> that on purpose?
Not by me, but probably by something inside twisted.web . I know there's code
in there to handle retrieval of specific ranges of data (not that it would
work for our log files), so it's probably in support of that feature.
More information about the devel