マイキャッシュマニフェストファイルには、次のようになります。ネット:: ERR_FAILEDネットワーク項目のmanifest.cache
CACHE MANIFEST
calendar.html
scripts/jquery.js
scripts/calendar.js
NETWORK:
https://apis.google.com/js/client.js
マイcalendar.htmlのようなものになります。私はキャッシュのすべての作品を無効にした場合
<html manifest="calendar.cache">
<head>
<script src="scripts/jquery.js" type="text/javascript"></script>
<script src="scripts/calendar.js" type="text/javascript"></script>
<script src='https://apis.google.com/js/client.js?onload=checkAuth'></script>
</head>
<body>
<div id="authorize-div" style="display: inline">
<span>Authorize access to Google Calendar API</span>
<!--Button for the user to click to initiate auth sequence -->
<button id="authorize-button">
Authorize
</button>
</div>
<pre id="output"></pre>
<script>
$(document).ready(function(){
console.log("ready");
})
</script>
</body>
</html>
を良い。しかし、キャッシュを有効にすると、apis.google.com/js/client.js
ファイルでエラーが発生します。エラーはjquery.js:5 GET https://apis.google.com/js/client.js?onload=checkAuth&_=1474962265124 net::ERR_FAILED
です。これはGoogle Chromeのブラウザ用ですが、Firefoxと同様のエラーが表示されます。私は何が欠けていますか?