Re: refreshing pages in the cache
| From: | Jim Giner | Date: | Thu, 28 Apr 2011 02:12:23 +0000 |
| Subject: | Re: refreshing pages in the cache | ||
| References: | 1 2 3 4 5 6 7 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-312528@lists.php.net to get a copy of this message | ||
Must be doing something wrong. Besides not helping my pages to re-build, it
actually ruins the presentation of a couple of my pages, even tho they are
all using the exact same includes with only some dummy content in one div
different than all the other pages.
I added this line to my existing "starter" page code:
<? echo 'header("Cache-Control: no-cache")';?>
the above lines were added just ahead of the following - which was the
absolute first line of output generated by my "built page" - line 1 of my
first included file:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"