[rt-users] Optimising for low bandwidth with mod_deflate
Woody - Wild Things
woody at wildthingsafaris.com
Sat Nov 8 10:02:34 EST 2008
Jesse Vincent wrote:
>
> First up, you probably want to use mod_gzip. That will be a HUGE
> improvement for your users and will get a lot more improvement than
> little content hacks like you've been pondering.
> Jesse
Hi Jesse et al,
That was an excellent suggestion, tho after some digging mod_gzip is
apache1 and its mod_deflate in apache2. I've implemented it and it was
trivial on gentoo - i added to httpd.conf
LoadModule deflate_module /usr/lib/apache2/modules/mod_deflate.so
SetOutputFilter DEFLATE
SetEnvIfNoCase Request_URI \.(?:gif|jpe?g|png)$ no-gzip dont-vary
SetEnvIfNoCase Request_URI \.pdf$ no-gzip dont-vary
my pages are now 25% of the total size, and the text content < 20% - a
huge saving - so i don't really need to reduce the number of tickets
displayed any more. cool.
I'd still like to strip the sigs and > > > tho - they annoy me!
scrip, or in the perl? any hints...
thanks for your help. It will really make a difference to our workforce.
Woody.
--
-----------------------
Richard Wood (Woody)
Managing Director
Wild Thing Safaris Ltd.
PO BOX 34514 DSM
Office: +255 (0) 222 617 166
Mobile: +255 (0) 773 503 502
http://www.wildthingsafaris.com
http://www.wildthingsafaris.com/pub/woody.html
More information about the rt-users
mailing list