mbox series

[0/2] uhttpd: Generate ETag similar to Nginx and BusyBox HTTPD

Message ID 20210112222057.26876-1-stokito@gmail.com
Headers show
Series uhttpd: Generate ETag similar to Nginx and BusyBox HTTPD | expand

Message

Sergey Ponomarev Jan. 12, 2021, 10:20 p.m. UTC
Different web servers generates different ETag header and this creates a problem for load balancing between them.
Currently uhttpd generates ETag similar to old Apache/2.2. But then Apache changed it.
I developing a small blog engine when on a router (uhttpd) runned a shrinked version and full version with images runned on my PC (Nginx).
If PC is turned off then requests are processed only by uhttpd.
To avoid re-downloading they both should generate similar ETag.
Nginx is most used replacement for uhttpd and even exists luci-nginx package.
Interesting that Gl.net and Turis devices uses LightHttpd which anyway uses bad ETag with loosed entropy.
See https://stackoverflow.com/questions/47512043/how-etags-are-generated-and-configured/62996104#62996104

Sergey Ponomarev (2):
  Make ETag load balancer friendly
  Generate ETag similar to Nginx and BusyBox HTTPD

 file.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)