How to use Cache Control in HTML

To use cache-control in HTML, you use the meta tag, e.g.
  1. <meta http-equiv="Cache-control" content="public">  
The value in the content field is defined as one of the four values below.

Some information on the Cache-Control header is as follows

HTTP 1.1. Allowed values = PUBLIC | PRIVATE | NO-CACHE | NO-STORE.
  1. Public - may be cached in public shared caches.
  2. Private - may only be cached in private cache.
  3. No-Cache - may not be cached.
  4. No-Store - may be cached but not archived.
Ebook Download
View all
Learn
View all