ArchiveTeam / ArchiveBot

ArchiveBot, an IRC bot for archiving websites
http://www.archiveteam.org/index.php?title=ArchiveBot
MIT License
352 stars 72 forks source link

dashboard: gzip- or deflate-compress the /logs/recent response if the browser accepts the encoding #557

Closed ivan closed 2 months ago

ivan commented 1 year ago

The ArchiveBot web server currently does not compress the ~2MB /logs/recent response, even when the browser sends Accept-Encoding: gzip, deflate.

This change is intended to speed up the loading of the dashboard over slower connections.

I based this on an example, but I haven't tested this because I lacked a testing environment.