You are here: Re: Problem with updating photos « PHP Programming Language « IT news, forums, messages
Re: Problem with updating photos

Posted by Michael Fesser on 01/22/08 00:38

..oO(The Natural Philosopher)

>Yes. Is there a way to tell the browser to 'refresh this file everytime'
>in the download?

You don't want the browser to download it everytime, but instead to ask
the server if the image was changed. Of course this requires proper HTTP
headers to control the caching. For static images the server usually
does this already (Apache servers for example send Last-Modified and
ETag headers), but it also depends on the browser to respect them.

Caching Tutorial
http://www.mnot.net/cache_docs/

Micha

 

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

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