From 174082611c8e9fe7748ded5f969a1c58749a5c42 Mon Sep 17 00:00:00 2001 From: diegorego Date: Sun, 7 Nov 2021 09:26:09 -0300 Subject: Update index.html (#2914) --- files/pt-br/web/http/caching/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'files/pt-br/web') diff --git a/files/pt-br/web/http/caching/index.html b/files/pt-br/web/http/caching/index.html index 819b7bb656..5786a07ffe 100644 --- a/files/pt-br/web/http/caching/index.html +++ b/files/pt-br/web/http/caching/index.html @@ -100,7 +100,7 @@ Cache-Control: public

Show how a proxy cache acts when a doc is not cache, in the cache and fresh, in the cache and stale.

-

O tempo de Vida é calculado beaseado em vários headers. Se o "Cache-control: max-age=N" header é especificado, então o tempo de vida é igual a N. Se este header não está presente, o que ocorre com frequência, ele checa se um {{HTTPHeader("Expires")}} heade está presente. Se um Expires header existe, então é o valor menos o valor do {{HTTPHeader("Date")}} header determina o tempo de vida. Finalmente, se nenhum header está presente, procure pelo {{HTTPHeader("Last-Modified")}} header. Se este header está presente, então o tempo de vidaé igual ao valor do  Date header menos o valor do Last-modified header dividido por 10.
+

O tempo de Vida é calculado beaseado em vários headers. Se o "Cache-control: max-age=N" header é especificado, então o tempo de vida é igual a N. Se este header não está presente, o que ocorre com frequência, ele checa se um {{HTTPHeader("Expires")}} header está presente. Se um Expires header existe, então é o valor menos o valor do {{HTTPHeader("Date")}} header determina o tempo de vida. Finalmente, se nenhum header está presente, procure pelo {{HTTPHeader("Last-Modified")}} header. Se este header está presente, então o tempo de vidaé igual ao valor do  Date header menos o valor do Last-modified header dividido por 10.
O valor de expiração é computado por:

expirationTime = responseTime + freshnessLifetime - currentAge
-- 
cgit v1.2.3-54-g00ecf