HowtoCacheHTTP: liens vers doc + outil
This commit is contained in:
parent
7c891eff08
commit
02403fa1e9
|
@ -2,7 +2,9 @@
|
||||||
|
|
||||||
# Howto Cache HTTP
|
# Howto Cache HTTP
|
||||||
|
|
||||||
<http://fr.wikipedia.org/wiki/Cache-Control>
|
* <http://fr.wikipedia.org/wiki/Cache-Control>
|
||||||
|
* <https://developer.mozilla.org/fr/docs/Web/HTTP/Caching>
|
||||||
|
* <https://web.dev/http-cache/>
|
||||||
|
|
||||||
Entêtes relatifs au cache HTTP :
|
Entêtes relatifs au cache HTTP :
|
||||||
|
|
||||||
|
@ -33,3 +35,7 @@ Exemple de non-mise en cache en PHP :
|
||||||
header("Pragma: no-cache");
|
header("Pragma: no-cache");
|
||||||
header("Cache-Control: no-cache");
|
header("Cache-Control: no-cache");
|
||||||
~~~
|
~~~
|
||||||
|
|
||||||
|
## Tester le comportement du cache
|
||||||
|
|
||||||
|
Cet outil en ligne permet d'interpéter les en-têtes HTTP renvoyées pour une URL : <https://redbot.org/>
|
Loading…
Reference in a new issue