On 07/25/10 16:37, Peter Korsgaard wrote:
I'm not sure I'm getting you. Httpd never runs the find script I
mentioned above, the idea is that you can run it manually when you want
to update the cache - Not something that is done for each request.

  beebee>  It just feels a  bit unfinished to expect the user to maintain gz
  beebee>  files manually on each update of the source file. He also has to be
  beebee>  made aware of how this feature works to insure he does that.

Sorry, I misunderstood your suggestion.

So you have to check whether there is a file with the same name but with .gz on the end and hopefully check whether it is newer that the requested file. If yes serve it else send requested without compression.

How many more bytes to run gzip if not the case ?

Maybe I have not looked at this deeply enough but it seems trivial.

BTW I'm running an embedded server, currently using lighttpd since BB.httpd seems a bit too basic and svgz is a bitch that needs more control over headers etc.


regards.


A lot of embedded webservers have very static content, but we could ship
an example script like we do for indexcgi and post_upload.

-- Bye, Peter Korsgaard

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

Reply via email to