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
Two Training Blocks (05/09 12:12)
Flower Power Sprint (04/30 21:31)
Back from Paris (03/31 21:48)
Paris-Brest (the sweet version) (03/20 18:35)
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 >>
Re: gzip encoding/compressing ZWiki pages

can be simplified in TAL to:
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
You can trackback to:
There are no trackbacks.
Leave a comment