On Tue, Jan 11, 2011 at 5:44 PM, Sven-Göran Bergh <[email protected]> wrote: > 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).
Applied, thanks! -- vda _______________________________________________ busybox mailing list [email protected] http://lists.busybox.net/mailman/listinfo/busybox
