Hi again,

Somehow my last mail body was lost, so I try it again
in a different way.

In order to save space I want to store all static web
content in compressed format _only_. HTTPd handles gz-
files great (kudos to Peter for his patch).

However, when no corresponding uncompressed file exist,
the Last-Modified header specifies epoch zero
(Thu, 01 Jan 1970 00:00:00 GMT). This may confuse caches,
both in browsers and proxys.

Attached is a small patch that takes the mtime of the
gz-file itself in case no corresponding uncompressed
file exists. (One could argue to always use the gz-mtime
for gz-files though, but that is not up to me to decide).

Thanks for a great project.
/Sven


_______________________________________________
busybox mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/busybox

Reply via email to