I have an application that uses a .appcache manifest. Everything works as expected, resources get cached:
CACHE MANIFEST
CACHE:
css/images/ajax-loader.gif
[...]
NETWORK:
http://docs.google.com/*
SETTINGS:
prefer-online
Now, when I request a CSV resource from http://docs.google.com like so:
$.get(url, function (data) {
// do something with the data
}).fail(function () {
alert("There was an error in loading current data from the server.");
});
the request fails even if I'm acutally online (on both Chrome and FF). Everything worked fine before I used the Appcache.
What is the correct way of requesting external resources while having an Appcache manifest?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…