javascript - Failed to execute 'update' on 'ApplicationCache': there is no application cache to update -



javascript - Failed to execute 'update' on 'ApplicationCache': there is no application cache to update -

applicationcache won't cache anything index.html

<!doctype html> <html manifest="cache.appcache"> <head> <title>zipcode database</title>

file cache.appcache

cache manifest my.js

htacces file

addtype text/cache-manifest .appcache

when in console run

applicationcache.update();

then error : invalidstateerror: failed execute 'update' on 'applicationcache': there no application cache update. code: 11 message: "failed execute 'update' on 'applicationcache': there no application cache update." name: "invalidstateerror" stack: "error: failed execute 'update' on 'applicationcache': there no application cache update.↵

and applicationcache.cache =0

your cache.appcache looks invalid, should this:

cache manifest #v0.0.1 alter forcefulness update cache: ./my.js

if it's still not working after this, can provide me total html can test more?

javascript caching

Comments

Popular posts from this blog

model view controller - MVC Rails Planning -

ruby on rails - Devise Logout Error in RoR -

html - Submenu setup with jquery and effect 'fold' -