One issue that i have faced while serving dynamic images is that images are not cached by default. So, every page reload or so, takes burden in fetching images. I tried to explicitly cache the images by setting headers as
self.response.headers['Content-Type'] = "image/png" self.response.headers['Cache-Control'] = "public, max-age=600" self.response.headers['Expires'] = "Thu, 15 Apr 2011 20:00:00 GMT" self.response.out.write(serve) Here serve is the blob object that contains image. But this also seems not to be working. Is this related somehow to the request header which goes on as Cache-Control max-age=0 How can i fix this. My application is supposed to be using a lot of images and its design is such that all images are served dynamically (/ img?id=XYZ). -- You received this message because you are subscribed to the Google Groups "Google App Engine" 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?hl=en.
