AppCache vs. Web Storage vs. Cookie
I would like to reduce loading time on my website by saving some pages and data into local client. There are AppCache, Web Storage and Cookie availble on the mordern browsers. What are the difference between them?
AppCache use a manifest file to define what files used by the app should be stored (You can cache files and ressources like HTML pages, JS scripts, CSS styles, images,...)
The details about AppCache can be found here.
Cookie are primarily for reading server-side. Domain cookies are sent with every HTTP request to that domain, which consumes bandwidth.
Cookies give you a limit of 4096 bytes per cookie and it is allowed to expire after a session.
References & Resources
- Dependency injection
- Directives and Pipes
- Data binding
- HTTP Get vs. Post
- Node.js is everywhere
- MongoDB root user
- Prefer Async Script Loading
- Components, Bootstrap and DOM
- What is HEAD in git?
- Show the changes in Git.
- What is AngularJS 2?
- Confidence Interval for a Population Mean
- Accuracy vs. Precision
- Sampling Distribution
- Working with the Normal Distribution
- Standardized score - Z score
- Evaluating the Normal Distribution
- What is Nodejs? Advantages and disadvantage?
- How do I debug Nodejs applications?
- Sync directory search using fs.readdirSync