I have made some other tests with HTML pages ,configuring the appengine-web.xml to serve HTML pages as static pages. I can see in the header that expiration is 10 minutes as described in the documentation.
The pb is that each time i reload the HTML page with Chrome or Safari (by clicking the enter button in url zone) the GAE server is trigered... Is it due to the browsers configuration or to the server (GAE) ? Any idea ? On 2 sep, 01:22, fvisticot <[email protected]> wrote: > 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 [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en -~----------~----~----~----~------~----~------~--~---
