Is there an effective way to stop pages from being cached?
I've created several websites that have dynamic content and images that are
managed by a client. The images are named according to the "id" generated
via an Identity column of their corresponding database record (ex:
1058.jpg). The problem occurs when the client tries to change the image.
The client gets understandly confused because the old image is still
displayed, due to the browser caching the image. How can I force the
browser to stop caching the page/image?
All of the ASP pages already have the following:
<%Response.Expires = -1%>
<meta http-equiv="expires" content="0">
<meta http-equiv="pragma" content="no-cache">
Any ideas?
Thanks,
Dan
---
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.676 / Virus Database: 438 - Release Date: 5/3/2004