Bob Ippolito wrote:
>
> cherrypy.response.headerMap['Cache-Control'] = 'max-age=120'
>
> -bob

Thanks Bob.  Works like a champ.

Only problem I have now is that while the csv file is properly cached
when I access the csv service directly but the csv file is not cached
when it is accessed from the embedded applet.  The applet uses the Java
URL class to establish the connection so I thought that the browser
would have a chance to examine and act on the header info.  Maybe
there's some specific set of header values I should add or maybe the
applet should use a different type of connection?  I know this is now
not a TurboGears issue but any clues for where I need to go from here
would be greatly appreciated.

Thanks,
Evan


--~--~---------~--~----~------------~-------~--~----~
 You received this message because you are subscribed to the Google Groups 
"TurboGears" 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/turbogears?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to