Images caching in browser - app-engine-patch application
问题 I have a little problem with caching the images in the browser for my app-engine application I`m sending last-modified, expires and cache-control headers but image is loaded from the server every time. Here is the header part of the code: response['Content-Type'] = 'image/jpg' response['Last-Modified'] = current_time.strftime('%a, %d %b %Y %H:%M:%S GMT') response['Expires'] = current_time + timedelta(days=30) response['Cache-Control'] = 'public, max-age=2592000' 回答1: Here is an example code