HTML5 offers two new objects for storing data on the client:
In HTML5, the data is not passed every server request, but used only when asked for. It is possible to store large amounts of data without affecting the website's performance.
The data can store in different areas for different websites, and a website can only access data stored by itself.
- localStorage - To store data with no time limit.
- session Storage -To store the data for one session.
In HTML5, the data is not passed every server request, but used only when asked for. It is possible to store large amounts of data without affecting the website's performance.
The data can store in different areas for different websites, and a website can only access data stored by itself.
No comments:
Post a Comment