The cache of my app will by refreshed after deploy, so I'm not sure if it's a bug cross some apps. Maybe it's just cached by the browser.
---------- keakon My blog(Chinese): www.keakon.net Blog source code: https://bitbucket.org/keakon/doodle/ On Sat, Dec 18, 2010 at 2:38 AM, Robert Kluin <robert.kl...@gmail.com>wrote: > Hi Noel, > People often want static content cached -- it reduces the load on > your app. Also, there might be other intermediate caches to worry > about too, so it may not be only Google caching your content. > > Yes, you should use some type of cache busting strategy. It depends > on how your iPhone app is implemented, but perhaps you can use a > version number on your assets so they can be changed between versions? > > > > > > Robert > > > > > > On Fri, Dec 17, 2010 at 12:57, Noel <llo...@gmail.com> wrote: > > I just pushed an update to my app in which a bunch of the static files > > changed and were important for the app behavior. > > > > What I'm seeing is that any requests for those static files return an > > old version of the file! I did some digging around and it seems that > > other people are seeing this and GAE caches things very aggressively. > > > > Two things: > > - Unless I'm missing something GAE shouldn't do that. When I submit > > changes with appcfg.py update, it knows exactly what has changed, so > > there's no reason it can't invalidate the caches for the static files > > that have changed. > > - Is there a way I can force it from here to start serving the latest > > version of a static file? I can't change the app because it's an > > iPhone app. > > > > Is it true that in the future, the best way to avoid this might be > > something like adding ?timestamp=[hour] to the URL request? That way > > files won't be cached for more than an hour? Is there a better method? > > > > Thanks. > > > > > > --Noel > > > > -- > > You received this message because you are subscribed to the Google Groups > "Google App Engine" group. > > To post to this group, send email to google-appeng...@googlegroups.com. > > To unsubscribe from this group, send email to > google-appengine+unsubscr...@googlegroups.com<google-appengine%2bunsubscr...@googlegroups.com> > . > > For more options, visit this group at > http://groups.google.com/group/google-appengine?hl=en. > > > > > > -- > You received this message because you are subscribed to the Google Groups > "Google App Engine" group. > To post to this group, send email to google-appeng...@googlegroups.com. > To unsubscribe from this group, send email to > google-appengine+unsubscr...@googlegroups.com<google-appengine%2bunsubscr...@googlegroups.com> > . > For more options, visit this group at > http://groups.google.com/group/google-appengine?hl=en. > > -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to google-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.