Can someone show how to use HTML5 cache with google app engine python? I have gone through the tutorials and have an app.yaml that looks like this
application: secret-valentine version: 1 runtime: python api_version: 1 handlers: - url: /cache.manifest mime_type: text/cache-manifest static_files: cache.manifest upload: cache.manifest - url: /static static_dir: static - url: .* script: secret-valentine.py login: required The cache.manifest file looks like this: # v9 CACHE MANIFEST /static/ext-all.js static/ext-all.js ext-all.js NETWORK: FALLBACK: And the browser is downloading the cache.manifest file as a manifest file. The problem is that the browser is always going to the server to get the ext-all.js file. I want it to get the file out of its local cache. One thing I notice in the logs is that the call to cache.manifest always comes after the call to ex-all.js. Even when I put the ext- all.js script tag at the very bottom of the page. I saw this http://code.google.com/p/googleappengine/issues/detail?id=1050 and took a close look at this page http://iui-js.appspot.com/samples/music/music.html#_home using firebug and I see his cache files are also being requested. (Unless firebug is wrong). Maybe I have the wrong expectations of html5 and you cannot utilize a local server? Anyone familiar with HTML5 cache? Thanks, -Tim Firefox 3.6 on Mac tiger GAE (python) 1.3.1 on mac -- 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.
