[mod_python] cache-control and session-id

Bart scarfboy at gmail.com
Sun Aug 24 11:29:20 EDT 2008


IIRC the way to tell proxies what is and isn't personal is the Vary header.

I also don't know how to deal with mod_python in this regard (all my
session logic is my own).

--Bart


On Sun, Aug 24, 2008 at 1:14 PM, John Aherne <johna at johnaherne.co.uk> wrote:
> If I use sessions, mod_python adds a header
>
> < Cache Control no-cache="Set Cookie">
>
> What I can't make out despite searching all over google is whether by
> default the page generated will get cached by proxies if I don't include a
> cache-control header.
>
> I must admit I thought that without any cache-control header, proxies would
> not cache the page.
>
> I assume that the no-cache option means the session cookie is not cached.
> That is my understanding of the info I have read.
>
> I'm not that clued up on caching, so I'm hoping that someone can give me the
> real facts if any on this
>
> Hoping for some enlightenment.
>
> Regards
>
> John Aherne
> _______________________________________________
> Mod_python mailing list
> Mod_python at modpython.org
> http://mailman.modpython.org/mailman/listinfo/mod_python
>


More information about the Mod_python mailing list