betabug... Sascha Welter

home english | home deutsch | Site Map | Sascha | Kontakt | Pro | Weblog | Wiki

08 January 2007

gzip encoding/compressing ZWiki pages

Smaller is beautyful!
 

I had been gzip encoding/compressing my COREBlog pages for some time now, now I thought about doing the same for my ZWiki pages at the papaki. There are two approaches:


Likely using mod_gzip would be considered the better solution. For some reason I just never got around to installing and using it. I guess the reason is just what brought me to use the gzip support in Zope in the first place: It's easy to set up. It works only on the pages you tell it to (now that could be considered a downside too), but it's easy to assign to those pages you want, no messing with regular expressions in httpd.conf to try to "catch" zope pages. I imagine that using mod_gzip would be easier on the server's RAM usage, but I have no hard figures to prove or disprove that. I'll keep it on my to-do list to play around with.

For now my wiki pages are still quite small. But I imagine that the usual huge wiki pages would profit a lot from gzip compression. Next on my list is If-modified-since support for ZWiki pages, another fun project with bandwidth payoff. sm mentioned that there is already some setup for that for ZWiki stylesheets (and some other parts) in the code.

Posted by betabug at 10:06 | Comments (2) | Trackbacks (0)
ch athens
Life in Athens (Greece) for a foreigner from the other side of the mountains. And with an interest in digital life and the feeling of change in a big city. Multilingual English - German - Greek.
Main blog page
Recent Entries
Splish splash I was taking a vacation (08/18 11:40)
Ferienzeit (07/29 17:09)
Backyard Adventure (07/08 08:18)
Danakos Climbing Gym (06/26 18:40)
Best of
Some of the most sought after posts, judging from access logs and search engine queries.

Apple & Macintosh:
Security & Privacy:
Misc technical:
Athens for tourists and visitors:
Life in general:
<< Sofa Mac Users | Main | ADSL Trouble >>
Comments
Re: gzip encoding/compressing ZWiki pages

python:context.REQUEST.RESPONSE.enableHTTPCompression(context.REQUEST)
can be simplified in TAL to:
python:request.RESPONSE.enableHTTPCompression(request)
which you probably already knew.

Posted by: Peter Bengtsson at January 10,2007 02:36
Re: gzip encoding/compressing ZWiki pages

Peter, you are of course right. I must have underslept that day or didn't have my cup of tal^H^Hea :-)

Posted by: betabug at January 10,2007 08:44
Trackbacks
You can trackback to: http://betabug.ch/blogs/ch-athens/518/tbping
There are no trackbacks.
Leave a comment