Storage overview introductory tutorial: 10 recommended zero-based introductory tutorials for storage overview

巴扎黑
Release: 2017-06-14 16:04:55
Original
1569 people have browsed it

In addition to canvas, another very important function in HTML5 is the local storage of web storage on the client. Previously, user names and other information could be stored in cookies on the client side. Later, it was discovered that the following problems exist in Cookies storage: Size: The size of Cookies is Bandwidth is limited to about 4kb: Coolies are sent together with the HTTP service, so part of the bandwidth is wasted. Complexity: It is very difficult to operate Cookies correctly. In response to the above problems, HTML5 proposes a method of saving data locally: Web storage has two processing methods: session storage: save data in the session object. Session is the time that elapses from when a user opens the website to when he closes the website, that is, the time the user browses the website. The session object can save all data during this period. local storage: Save data on the client's hardware (hard drive) even if the user's browser is closed. The next time you open it, the session storage instance index.h will also be reloaded

1. Html5 Learning Journey-Html5 Web Storage Overview (16)

Storage overview introductory tutorial: 10 recommended zero-based introductory tutorials for storage overview

Introduction: In addition to canvas, another very important function in HTML5 is the local storage of web storage on the client side. Previously, it could be stored on the client side Cookies store user names and other information. Later, it was discovered that the following problems existed in Cookie storage:

[Related Q&A recommendations]:

The above is the detailed content of Storage overview introductory tutorial: 10 recommended zero-based introductory tutorials for storage overview. For more information, please follow other related articles on the PHP Chinese website!

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