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 Rik on 05/19/06 22:44

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...

Maybe a bit naive, but:
new image = > new name??????

Why does do they have to have the exact same name, other then it's easier to
just overwrite the image instead of doing the work?

You could send cache headers while creating a dynamical image, or meta tags
on a HTML page. Users/browsers decide wether to cache or not though, all you
can do really is "advise" them.

Grtz,
--
Rik Wasmus

 

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

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