Re: [google-appengine] Caching of dynamic images

2009-12-07 Thread 风笑雪
You need test it on production sever, the develop server always sends no cache header. 2009/12/7 Pranny : > 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 c

[google-appengine] Caching of dynamic images

2009-12-07 Thread Pranny
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['C