Caching occurs client side (ie in the webbrowser) not by apache or php unless you have setup something especially to do so...
How are you testing that something stays cached?

There is also a HTTP header you can make your PHP send to ask the page not to be cached. Looking at this page: http://uk2.php.net/header and googling for no cache will help.

Andrew

----- Original Message ----- From: "Benjamin Adams" <[EMAIL PROTECTED]>
To: "php php" <php-general@lists.php.net>
Sent: Tuesday, October 10, 2006 4:17 PM
Subject: [PHP] Disable all caching


I have a php (ver 4.x) script that is being cached.
I have placed:
<META HTTP-EQUIV="CACHE-CONTROL" CONTENT="NO-CACHE">
but the page is still being cached. I'm not sure if its apache or the php. How can I disable all caching?
is there something I can set in php.ini?

(Mac OS X Server)

Thanks

Ben

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to