Web - Cache

> (World Wide) Web - (W3|WWW)

1 - About

Cache in the Web

Advertising

3 - Type

3.1 - HTTP

3.2 - Cache Bursting

Static Files such as javascript, css and images may be cached by the browser for a certain period of time. When releasing a new version, the HTML may be then not in sync because the browser (of any cache system in-between) will keep serving the old one without download the old one. One solution for this kind of problem is Web - Cache Bursting

3.3 - Browser cache

3.4 - Service workers

Service Worker precache .

The first time a user visits your page using a browser that supports service workers, all of the resources needed to use the page offline can be automatically cached locally, and each subsequent visit to any page on the site will be:

  • a) fast (since there's no network dependency)
  • b) work offline (for the same reason).
web/cache.txt · Last modified: 2019/02/09 11:29 by gerardnico