Turning off caching of webpage
Posted: Thu Mar 02, 2006 12:57 am
I do not want my pages cached, but instead completely reloaded for every visit. How do I set cache off with php?
A community of PHP developers offering assistance, advice, discussion, and friendship.
http://forums.devnetwork.net/
Code: Select all
header("Cache-Control: no-cache, must-revalidate"); // HTTP/1.1
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT"); // Date in the past