What is a Web cache and why should I use it?
Web caches roam between the server and the client. This server may be the source server (the server where the resource resides), the number may be 1 or more, and the client may be 1 or more. The Web cache monitors the server-client, monitors requests, and saves the contents of the request output (for example, HTML pages, pictures, and files) (collectively, copies), and then, if the next request is the same URL, requests the saved copy directly instead of bothering the source server again.
2 main reasons to use caching:
- Reduced Latency: The cache is closer to the client, so the content from the cache requests less time than it takes from the source server, renders faster, and the site becomes more responsive.
- Reduced network transmission: replicas are reused, greatly reducing the user's bandwidth usage, but also a disguised savings (if the traffic to pay), while ensuring that bandwidth requests at a low level, easier to maintain
ii. Types of web caches
1. Browser Cache
In any modern browser (ie, FireFox, Chrome) toss clear the Privacy data (//zxx: The original is said to be the preference, obviously out, there are changes here) dialog box, you will most likely notice the "cache" this setting.
The browser will open up a space on your hard drive dedicated to storing a copy of the resource for you
2. Proxy Server Caching
3. Gateway Cache
Cdn
third, how the Web cache works
What is a Web cache and why should I use it?
What is a Web cache and why should I use it?
Web cache Knowledge for developers