These are chat archives for MarcosSegovia/MPWAR1516

12th
Apr 2016
hype hype
Víctor Caballero
@vicaba
Apr 12 2016 18:07
claps Marcos
Pablo Puga
@pablo-puga
Apr 12 2016 18:54

<?php

$date = new DateTime('now');

$expiresDate = $date->modify('+60 seconds');

header('Cache-Control: max-age=60');
echo "<a href='cache-control.php'>Reload</a><br>";
echo "NOW: ". $date->format(DateTime::RFC1123);