thanks for the response.  it looks like it's google chrome that isn't
behaving correctly with my setting of the cache.  i want backspace to
repopulate the contents of a form, but it seems as though chrome
doesn't do this properly, by ie does.  when i looked at headers, it
looks like it's working.

On Dec 2, 12:03 am, Primoz Anzur <[email protected]> wrote:
> For my site, it's essential to make cache as much as possible.  This is
> what I have:
>
> web.header('Content-Type', ctype)
> web.header('Cache-Control', 'public');
> web.header('max-age', 24*3600*31) #31 days
>
> So um... Cache commands work in web.py. Did you analyzed headers?  Are you
> using a proxy? Any additional information you can attach?
>
>
>
>
>
>
>
>
>
> On Fri, Dec 2, 2011 at 8:54 AM, kjackson <[email protected]> wrote:
> > i've been trying to set the Cache-Control in the header to something
> > other than private, but i can't seem to get it to work.  i noticed
> > that the documentation doesn't seem to refer to web.header, but i
> > found it using google, so i'm wondering if it still works.  i've been
> > setting my code to:
>
> > web.header('Cache-control', 'no-cache')
>
> > but it doesn't seem to change anything.
>
> > is this correct, or is there another way to do this?
>
> > thanks in advance
>
> > ken
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "web.py" group.
> > To post to this group, send email to [email protected].
> > To unsubscribe from this group, send email to
> > [email protected].
> > For more options, visit this group at
> >http://groups.google.com/group/webpy?hl=en.
>
> --http://www.wolfhowlmedia.com

-- 
You received this message because you are subscribed to the Google Groups 
"web.py" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/webpy?hl=en.

Reply via email to