Forum Moderators: coopster

Message Too Old, No Replies

Cache Issue

         

sjariri

12:45 pm on Mar 4, 2006 (gmt 0)

10+ Year Member



All of my PHP pages have a default of no-cache. But for a specific page, I need to have cache available. I am using:

session_cache_limiter('private');
session_cache_expire(1);

But the pages will not get refreshed with new visits even after several days, or even with Refresh. (however on IE, CTRL+F5 would bring the updated page). Do you have any idea on what I am missing. Here is the returned header for that page:

Result code: 200 (OK / OK)
Date: Sat, 04 Mar 2006 12:37:58 GMT
Server: Apache/1.3.33 (Unix) mod_tsunami/3.0
Cache-Control: private, max-age=60, pre-check=60
Expires: Thu, 19 Nov 1981 08:52:00 GMT
X-Powered-By: PHP/4.3.2
Set-Cookie: PHPSESSID=95817bf8b4d7eb3435797b2fd9f09636; path=/
Last-Modified: Tue, 21 Feb 2006 07:43:07 GMT
Content-Type: text/html
X-Cache: MISS from wc02.inet.mesa1.secureserver.net
Proxy-Connection: close

jatar_k

5:22 pm on Mar 8, 2006 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



are you just using a no-cache header for the other pages?

If so couldn't you leave it out on the page in question?