You are here: Re: Question about browser Cache and Webpages « All PHP « IT news, forums, messages
Re: Question about browser Cache and Webpages

Posted by Fafhrd on 05/19/06 20:58

jj wrote:
> This may be a little offtopic but I hope someone can help me out:
>
> I run our company website and have recently made a lot of changes to the
> images , I have uploaded these new images to the web server but there is one
> small problem
>
> Since the new images have the same exact filenames as the old ones, browsers
> with cache setting keep displaying the old images until the cache is
> cleared.
>
> Im wondering is there a way to force the browsers to download my new images?
> Im fearful that our customers will keep seeing the old images for a long
> time...
>
> Thanks
>
>
Add this to the top of the script:
header("Cache-Control: no-cache, must-revalidate");

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация