[OpenWrt-Devel] Fwd: [PATCH] uhttpd: serve precompressed files
Bastian Bittorf
bittorf at bluebottle.com
Mon Sep 7 05:40:45 EDT 2015
* Adrian Kotelba <adrian.kotelba at gmail.com> [07.09.2015 11:36]:
> Well, it could be useful for low-end devices with small storage
> capacity and slow networks, see https://dev.openwrt.org/ticket/14333.
> The static content, mostly text-based HTML, Java, and css files, could
> be stored as gzip or zopfli precompressed files. Thus, one reduces
> storage requirements and improves page loading times.
ok, as far as i understand the patch, if somebody
tries to http_get file 'xy.html' and the webserver
finds 'xy.html.gz' it serves this file, right?
the storage-argument is not really valid, because the
files are usually compressed anyway (squashfs or jffs2).
the "slow networks" argument is ofcourse valid.
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