Home > Web Front-end > HTML Tutorial > HTML5 application caching

HTML5 application caching

(*-*)浩
Release: 2019-10-29 15:09:47
Original
3105 people have browsed it

Using application cache, you can easily create an offline version of a web application by creating a cache manifest file.

HTML5 application caching

What is application cache? (Recommended learning: html tutorial)

HTML5 introduces the application cache (Application Cache), which means that web applications can be cached and can be used when there is no Internet connection. for a visit.

Application caching brings three benefits to apps:

Offline browsing - users can use apps while they are offline Speed ​​- cached resources load faster Reduced Server Load - The browser will only download updated or changed resources from the server

Browser Support

The numbers in the table indicate full support for application caching browser version.

HTML5 application caching

HTML Cache Manifest Example

The following example shows an HTML document with cache manifest (for offline browsing):

Example

<!DOCTYPE HTML>
<html manifest="demo.appcache">

<body>
文档内容 ......
</body>

</html>
Copy after login

The above is the detailed content of HTML5 application caching. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
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
Latest Issues
html5 validation for symfony 2.1
From 1970-01-01 08:00:00
0
0
0
The difference between HTML and HTML5
From 1970-01-01 08:00:00
0
0
0
html5 show hide
From 1970-01-01 08:00:00
0
0
0
Can PDF files run HTML5 and Javascript?
From 1970-01-01 08:00:00
0
0
0
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template