Apr 15, 2009, 7:09 AM
[CLOSED] Cache in Ajax
Hi..
I was wondering some thing in PHP. While writing any code in ajax we also used to add these functionalities in header so cache is disabled
Is there any thing in coolite toprovide this for cache problem
thanks you,
Regards,
Madan
I was wondering some thing in PHP. While writing any code in ajax we also used to add these functionalities in header so cache is disabled
<DIV class=codecontent><?php <B style="COLOR: black; BACKGROUND-COLOR: #99ff99">header[/B]("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT");
<B style="COLOR: black; BACKGROUND-COLOR: #99ff99">header[/B]("<B style="COLOR: black; BACKGROUND-COLOR: #a0ffff">Cache[/B]-Control: no-store, no-<B style="COLOR: black; BACKGROUND-COLOR: #a0ffff">cache[/B], must-revalidate");
<B style="COLOR: black; BACKGROUND-COLOR: #99ff99">header[/B]("<B style="COLOR: black; BACKGROUND-COLOR: #a0ffff">Cache[/B]-Control: post-check=0, pre-check=0", false);
<B style="COLOR: black; BACKGROUND-COLOR: #99ff99">header[/B]("Pragma: no-<B style="COLOR: black; BACKGROUND-COLOR: #a0ffff">cache[/B]"); ?>
So in elimates the cache problem.Is there any thing in coolite toprovide this for cache problem
thanks you,
Regards,
Madan