[PATCH] httpd: add option to send files using gzip content-encoding if available

Lauri Kasanen curaga at operamail.com
Mon Jul 26 09:58:37 UTC 2010


>> for i in `find /var/www -name \*.html' -o -name '*.css' -o -name '*.js'`;
>> do
>> gzip -c -9<  $i>  $i.gz
>> done
>>
>> Would work for most people.
>>
>> -- Bye, Peter Korsgaard

Hi

IMHO that would be a job for a Makefile, not the server in any case.
It being made for acting when source files are newer than the resulting ones.

Sample attached, HTH.

- Lauri


-- 
_______________________________________________
Surf the Web in a faster, safer and easier way:
Download Opera 9 at http://www.opera.com

-------------- next part --------------
A non-text attachment was scrubbed...
Name: Makefile
Type: application/octet-stream
Size: 108 bytes
Desc: not available
URL: <http://lists.busybox.net/pipermail/busybox/attachments/20100726/f726fdc1/attachment.obj>


More information about the busybox mailing list