Re: [appengine-java] Help Impossible to have some Cached Reqest

2011-09-12 Thread Guillaume B.
Thanks Bruno your solution works well -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine-java/-/U9IUs43_P9AJ. To post to this group, send email

[appengine-java] Help Impossible to have some Cached Reqest

2011-09-01 Thread Guillaume B.
Hello, I must really miss something We have an java appengine application that deliver nearly static content : the result of request vary very few over time a request is valid for almost 24h inhttps://appengine.google.com/dashboard I have nice chart of requests by type / per second 0% Static

Re: [appengine-java] Help Impossible to have some Cached Reqest

2011-09-01 Thread Bruno Fuster
try response.setHeader(Cache-Control, public, max-age=+maxAge); and check if response code is 200 for the first time and 304 the next one On Thu, Sep 1, 2011 at 12:27 PM, Guillaume B. guillaume.brus...@gmail.comwrote: Hello, I must really miss something We have an java appengine

ReĀ : Re: [appengine-java] Help Impossible to have some Cached Reqest

2011-09-01 Thread Guillaume B.
Thanks for your answer unfortunatly even using your code I have no more success code is always 200 Can there is a link to that fact that I send json data ? public static void publishData(HttpServletResponse response, byte[] msgByte, int secondsToCache) throws Exception {