Originariamente inviata da
boots
in teoria potresti impostare gli header per far ignorare la cache, tipo
header('Cache-Control: no-cache');
header('Pragma: no-cache');
Ma quando l'ho testato, non hanno mai funzionato
Ho trovato questo:
Codice PHP:
header('Content-Type: application/javascript');
header("Expires: Tue, 03 Jul 2001 06:00:00 GMT");
header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT");
header("Cache-Control: no-store, no-cache, must-revalidate,
max-age=0");
header("Cache-Control: post-check=0, pre-check=0", false);
header("Pragma: no-cache");
header("Connection: close");
Non sarebbe sufficiente?