Home >Web Front-end >H5 Tutorial >Application Cache uncached files cannot be accessed and cannot be loaded_html5 tutorial tips

Application Cache uncached files cannot be accessed and cannot be loaded_html5 tutorial tips

WBOY
WBOYOriginal
2016-05-16 15:47:491860browse

I used Application Cache to cache the page and static resources. I found that when requesting data with ajax or loading uncached resources, it could not be loaded. The error was reported as follows:

CAUTION: Provisional headers are shown,

Solution Method:

NETWORK: needs to be configured* in the manifest.appcache configuration file,

CACHE MANIFEST

# 2015-02-21 v1.0.2
/test.html
NETWORK:
*

asterisk to indicate that all other files to be cached require an Internet connection

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn