I am not 100% with this so i might not have the full picture however, it
 is just a command that would have the server tell the client not to 
cache the page. from something i just read you would want to execute 
this from the server, as by the time it gets to the client it would be 
too late as it would have already been cached.

Have a look at this page also


There is a quick section on this, it doesn't explain much detail but it does 
give an idea.

> To: php-general@lists.php.net
> From: jim.gi...@albanyhandball.com
> Date: Wed, 27 Apr 2011 21:52:57 -0400
> Subject: Re: [PHP] refreshing pages in the cache
> So - it's not an html attribute - it's a PHP command that precedes ALL my 
> html headers?
> "Ross Hansen" <hansen.r...@live.com.au> wroteYou need to still put in the 
> standard PHP tags as you would normally and it is just another line of code.
> e.g
> <?php
>  header("Cache-Control: no-cache");
> ?>
> -- 
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to