Hi!

Last night I've hacked COREBlog 1.2.4 to handle If-Modified-Since
headers and thus do what they call "conditional HTTP GET" handling. 

"Conditional HTTP GET" means that clients (web browsers and RSS feed
readers for exammple) give the server the date of last change they have
for a certain file. The server then gives them either the page data (if
it's newer) or only an emtpy body with a "304 not modified" status. This
can save a lot of bandwidth.

I wanted this especially for RSS feeds (I've had some fools hitting my
feeds every 5 minutes, though I block those at the firewall once I spot
them) and for the single entry pages (which Googlebot swipes a lot and
which rarely change).

The patch adds two methods to COREBlog.py and needs some code in the
dtml-methods in question to do its work. All described on:
http://betabug.ch/blogs/ch-athens/333

Runs on my blog since yesterday, works for me, but use at your own risk.
Though if you don't know what you are doing, you might better off to leave 
it away.

Atsushi-san, if this code suits you in any way, feel free to include it
in the codebase, I would feel happy to be of any help.

Regards,

Sascha

_______________________________________________
COREblog-en mailing list
[email protected]
http://postaria.com/cgi-bin/mailman/listinfo/coreblog-en
Unsubscription writing to [EMAIL PROTECTED]

Reply via email to