Sunday, May 1, 2005

mod_python request objects & caching

How can I set no-cache on requests served by mod_python? I am having this agravating issue of image caching that causes images that rotate in my photo gallery to show up un-rotated even though the rotated image is sitting on disk. I think the solution to this would be to set up an image handler in apache that will serve No-Cache no-cache and Pragma no-cache headers to image GETs . . . but that means no caching.

So it think the only valid solution would be to make a handler that dealt entirely with my photo gallery stuff, no more using the publisher handler. This has the makings of an interesting project.

A project for another day, because I have to get back to my XMPP/jabber (not-yet-existant) work.

Labels:

0 Comments:

Post a Comment

Links to this post:

Create a Link

<< Home

-->

Links

Me

Not Me

Archives

The views and opinions expressed in the blog are of Joe LaPenna. Google has nothing to do with these pages.
For information about Google please visit: Google Press Center