[nycphp-talk] How to not cache an include?
Marc Antony Vose
suzerain at suzerain.com
Sat Apr 19 13:31:00 EDT 2003
if i'm understanding you correctly, this probably has nothing to do
with PHP; are you still seeing this behavior if you turn off caching
in your browser?
you can put this in the <head> of your document:
<META HTTP-EQUIV="Pragma" CONTENT="no-cache">
i know it's not 100% bulletproof, but it's a start. search for that
on google.com, and you'll uncover a hornet's nest of anti-caching
strategies.
At 0:29 -0400 4/19/03, Jon Baer wrote:
> > Im working on an apartment listing site and a part of a header is
>> included via include("header.php") which does a count(*) on vacancies
>> but after entering a new place and giving confirmation "Vacancy was
>> added ..." the header doesn't reflect the last added entry ... not
> > really important yet annoying, any ideas?
> >
--
Marc Antony Vose
http://www.suzerain.com/
If you don't have something nice to say, say it anyway.
-- Unknown
More information about the talk
mailing list