Re: Disable all caching

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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" <badams@xxxxxxxxxxxxxx>
To: "php php" <php-general@xxxxxxxxxxxxx>
Sent: Tuesday, October 10, 2006 4:17 PM
Subject:  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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux