Web cache Knowledge for developers

Source: Internet
Author: User
Tags browser cache

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.