I'm developing a mobile application.
For performance purpose, i would like to cache some jsp files

I have made a test inserting the following lines in my JSPs:

response.setHeader("Cache-Control","max-age=66");
response.setHeader("Expires","Tue, 01 Sep 2009 23:15:00 GMT");

Each time, i reload the page with Safari or Chrome, the browser is
trigering the GAE server to generate a new page.

How to configure the JSP/GAE/Browser to have a cached version of the
JSP ?

I have seen a post regarding Cache-Control on this forum but it's not
very clear for me...


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" group.
To post to this group, send email to google-appengine-java@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to