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
Release: 2016-05-16 15:47:49
Original
1845 people have browsed it

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

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template