Reply
flushing the cache for just one image?
Old 02-20-2007, 12:45 PM flushing the cache for just one image?
Average Talker

Posts: 16
I have updated an image called heart.jpg on my website.

How do I make sure that the new one displays when a user re-visits my website, rather than the old one they have in their cache?

Tks,
Bansaw is offline
Reply With Quote
View Public Profile
 
When You Register, These Ads Go Away!
Old 03-05-2007, 03:03 AM Re: flushing the cache for just one image?
Novice Talker

Posts: 13
Name: Bjorn Enki
Location: Los Angeles, CA
One way is to rename it. If it is only used on one page this is probably the easiest way for a one time fix.

If you change the image frequently you could use the <HTTP-EQUIV="PRAGMA" CONTENT="NO-CACHE"> tag so that users never cache the page or pages it on (but check out http://support.microsoft.com/kb/222064/ )
__________________
Bjorn Enki Gjesdal - Internet Marketing & Promotion | Website Design | Web Development
bjornenki is offline
Reply With Quote
View Public Profile Visit bjornenki's homepage!
 
Old 03-05-2007, 03:23 AM Re: flushing the cache for just one image?
pitbull82's Avatar
Super Talker

Posts: 147
Name: Marcin Nabiałek
Location: Poland, Częstochowa
[quote=bjornenki;360150]One way is to rename it. If it is only used on one page this is probably the easiest way for a one time fix. /QUOTE]
Yes, I agree. In that case you should change photo's filename and update your HTML/CSS code with new filename.
__________________
Seo Link Directory | Kurs C++ | Forum C++
pitbull82 is offline
Reply With Quote
View Public Profile Visit pitbull82's homepage!
 
Reply     « Reply to flushing the cache for just one image?
 

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Webmaster Resources Marketplace:
Software Development Company | Webhosting.UK.com | Text Link Brokers 


   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML

 


Page generated in 0.67382 seconds with 12 queries