[OpenWrt-Devel] Fwd: [PATCH] uhttpd: serve precompressed files

Bastian Bittorf bittorf at bluebottle.com
Mon Sep 7 13:14:36 EDT 2015


* Adrian Kotelba <adrian.kotelba at gmail.com> [07.09.2015 18:57]:
> Thanks for hints. So, in other words, you propose to compress the
> files on the fly, right?
> I am afraid that low-end devices may not have enough cpu power to do that.

this is really fast. gzip compresses at ~1megabyte/sec on a typical router.
this means 1/10 sec for a typical large 100k html-file. (which has only
1/8 of the original size) - thats ok for your usecase.

bye, bastian
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list