Reply to Re: Disable image caching?

Your name:

Reply:


Posted by Toby Inkster on 06/03/05 01:42

Noozer wrote:

> Currently I have the following at the top of my page source:
> <%
> response.ContentType = "image/jpeg"
> Response.CacheControl = "no-cache, must-revalidate"
> Response.AddHeader "Pragma", "no-cache"
> Response.Expires = -1
> Response.AddHeader "Last-Modified", date
> %>

At the top of the *page* or the top of the *image*. You need to send these
headers with the *image*. (Alternatively, just change the image file name
every time you update it.)

--
Toby A Inkster BSc (Hons) ARCS
Contact Me ~ http://tobyinkster.co.uk/contact

[Back to original 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

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