Re: refreshing pages in the cache

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Apr 27, 2011 at 4:42 PM, Jim Giner <jim.giner@xxxxxxxxxxxxxxxxxx>wrote:

> I"m trying to make my webpages display random photos on a border.  Got it
> all working now but have a question about the IE cache.  Seems that once
> the
> page has been displayed, no amount of "refresh" will make the page
> "rebuild"
> and thus show 'different' pics the second time around.
>
> Can php do something about a page in the cache?  I know that the cache is
> there to speed up performance and all, but I thought this random image
> thing
> would work if they just hit F5 to see a new array of images.
>
> Can php detect a user-requested 'refresh'?
>
>
>
Though you can't control everything, headers can help.

https://secure.wikimedia.org/wikipedia/en/wiki/List_of_HTTP_header_fields<%20https://secure.wikimedia.org/wikipedia/en/wiki/List_of_HTTP_header_fields>

http://us3.php.net/manual/en/function.header.php

Cache-Control is a nice one. =)

-- 
--Zootboy

Sent from my PC.

[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux