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 im
Near the top of the right hand sidebar on the http://www.openwrt.org front
page, there is a section that says the latest release is 15.05-rc1. Someone has
been forgetting to update it.
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https
* Adrian Kotelba [06.09.2015 20:05]:
> Serving precompressed content with uhttpd.
please write more about the usecase. it looks useless?!
bye, bastian
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mail
Serving precompressed content with uhttpd.
Signed-off-by: Adrian Kotelba >adrian.kote...@gmail.com>
---
diff --git a/file.c b/file.c
index 480c40b..81f8186 100644
--- a/file.c
+++ b/file.c
@@ -136,6 +136,7 @@ uh_path_lookup(struct client *cl, const char *url)
int docroot_len = strlen(docroot);