[thelist] AOl proxy cache

Bill Haenel bill at webmarketingworx.com
Tue Jul 17 12:36:05 CDT 2001


> If you
> want to ensure that they are not cached, use the header() function to add
> HTTP headers and call it as the first thing on every page of your site.

So for efficiency and error control's sake, I might logically put an include
at the top of every (or most every) page that grabs a file including that
header. i.e.,

include ("header.php");

and the "header.php" file would contain

<?
header ("Pragma: no-cache");
header ("Cache-Control: no-cache, must-revalidate, max_age=0");
header ("Expires: 0");
header ("take your stinkin' AOL cache and get outta dodge: pronto)
?>

or something like that...

BH





More information about the thelist mailing list