HTML5 offline “Application Cache Error event: Manifest fetch failed (-1)”
问题 I'm trying to write an HTML5 offline application but can't seem to get Chrome to accept the cache manifest file. Chrome logs the following output to its console while loading the application: Creating Application Cache with manifest http://localhost/cache.manifest Application Cache Checking event Application Cache Error event: Manifest fetch failed (-1) http://localhost/cache.manifest However, if I remove all lines from the manifest file except for the first line (i.e. "CACHE MANIFEST")