19
0
Fork 0

formattage

This commit is contained in:
jlecour 2021-06-21 10:05:14 +02:00
parent 324203d5fa
commit cad306b906
1 changed files with 2 additions and 2 deletions

View File

@ -26,7 +26,7 @@ Last-Modified:
Exemple de mise en cache en PHP :
~~~
~~~{.php}
$offset=3600*20; //Forte période 20h
//$offset=3600*3; //Période normale 3h
@ -38,7 +38,7 @@ header("X-generated-at: " .date(DATE_RFC822));
Exemple de non-mise en cache en PHP :
~~~
~~~{.php}
header("Pragma: no-cache");
header("Cache-Control: no-cache");
~~~