How to test response cache is working or not?
From: Bhavin Patel (bhawin13_at_indiatimes.com)
Date: 10/28/04
- Previous message: Paul Barfoot: "Re: exec - Directory (including " ") and A LOTS of parameters"
- Next in thread: Paul Barfoot: "Re: How to test response cache is working or not?"
- Reply: Paul Barfoot: "Re: How to test response cache is working or not?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 28 Oct 2004 05:01:20 -0700
Hello,
I have written this code in php file. to set cache for 60 second.
==============================================================
Header("Cache-Control: must-revalidate");
$offset = 60;
$ExpStr = "Expires: " . gmdate("D, d M Y H:i:s", time() + $offset) . "
GMT";
Header($ExpStr);
==============================================================
How to test response cache is working or not? Please help me to find
out correct way towards solution. I want to cache page for 60 second.
Thanks for valuable time.
bhawin13
- Previous message: Paul Barfoot: "Re: exec - Directory (including " ") and A LOTS of parameters"
- Next in thread: Paul Barfoot: "Re: How to test response cache is working or not?"
- Reply: Paul Barfoot: "Re: How to test response cache is working or not?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|