[OpenWrt-Devel] Fwd: [PATCH] uhttpd: serve precompressed files
nbd at openwrt.org
Mon Sep 7 04:08:14 EDT 2015
On 2015-09-07 08:47, Adrian Kotelba wrote:
> 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.
Serving compressed files requires a fallback codepath for browsers that
can't accept gzip encoding. Also, precompressed files that ship with the
firmware image waste storage instead of saving it, because the
filesystem is compressed using LZMA (which has a much better ratio than
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
More information about the openwrt-devel