![]() In other words how many seconds a resource can be served from cache after it's been downloaded. ![]() This directive indicates that the maximum amount of time a resource is considered fresh. It can not be cached by an intermediary agent such as proxy or CDN. This directive indicates that the response can only be cached by the browser that is accessing the file. This directive indicates that the response may be stored by any cache, even if the response is normally non-cacheable. The most common cache-control headers are detailed below: These values are called directives, and they dictate who can cache a resource as well as how long those resources can be cached before they must be updated. The cache-control header is broken up into directives. While response headers contain information on, whether the request was successfully fulfilled and the language and format of any resources in the body of the response. For example, the request header contains, information on what resource is being requested, which browser the client is using and what data formats the client will accept. These headers contain information about each communication. All the headers are case-insensitive, headers fields are separated by colon, key-value pairs in clear-text string format. HTTP headers are the core part of HTTP requests and responses and provide required information about the request or response. ![]() Once the TTL has expired, the browser will have to reach out to the server again and download a fresh copy of the resource. Browser will save those resources only for a specific period of time called TTL. When you revisit that Web page, there is no need to re-download such components. It is used to increase a users browsing speed by locally downloading Web page components to the browser cache. The intend behind this is to help reduce bandwidth. Browser caching is a temporary storage of Web documents, such as images, media and pages.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |