Content deleted Content added
No edit summary Tags: Reverted Mobile edit Mobile web edit |
m Reverted edits by 2.147.115.52 (talk) (HG) (3.4.9) |
||
Line 2:
A '''Web cache''' (or '''HTTP cache''') is a system for optimizing the [[World Wide Web]]. It is implemented both [[client-side]] and [[server-side]]. The [[cache (computing)|caching]] of [[multimedia]]s and other [[computer file|files]] can result in less overall delay when [[web browser|browsing]] the Web.<ref>{{Cite web |last=Fountis |first=Yorgos |date=4 May 2017 |title=How does the browser cache work? |url=https://pressidium.com/blog/2017/browser-cache-work/}}</ref>
==Parts of the system==
Line 12 ⟶ 11:
===HTTP options===
The [[Hypertext Transfer Protocol]] (HTTP) defines three basic mechanisms for controlling caches: freshness,
Freshness allows a response to be used without re-checking it on the origin server, and can be controlled by both the server and the client. For example, the Expires response header gives a date when the document becomes stale, and the Cache-Control: max-age directive tells the cache how many seconds the response is fresh for.
|