Reply
Images Cache
Old 01-26-2005, 06:31 PM Images Cache
lajkonik86's Avatar
Ultra Talker

Posts: 389
Heeyz


I use the same image name for a changing picture on my site.
The picture changes every few days but the name stays the same.

I just noticed that my browser didn't notice that it was a different picture and loaded the old one from it's cache.
Can i do something about this instead of using a different image name?
__________________
Know what to Download
http://www.top-download.net
lajkonik86 is offline
Reply With Quote
View Public Profile
 
When You Register, These Ads Go Away!
     
Old 01-27-2005, 04:09 AM
Ultra Talker

Posts: 377
Maybe you should disable caching of your page using a <META> tag.
__________________
andrews_john
www.softwareforhosting.com
andrews_john is offline
Reply With Quote
View Public Profile Visit andrews_john's homepage!
 
Old 01-27-2005, 05:58 PM
lajkonik86's Avatar
Ultra Talker

Posts: 389
yeay but that would be very bandwith costly
isn't there a tag in the image to tell the browser to check for image size instead of name?
__________________
Know what to Download
http://www.top-download.net
lajkonik86 is offline
Reply With Quote
View Public Profile
 
Old 01-28-2005, 10:45 AM
Kyrnt's Avatar
The Post-Mod Years

Posts: 2,536
Location: Western Maryland
Frankly, no. The cache works on the basis of name. If you will change the name of the image slightly, you will get the best of both worlds -- cached copies of the image if it does not change and immediate recognition of a new image.
__________________
—Kyrnt
Kyrnt is offline
Reply With Quote
View Public Profile Visit Kyrnt's homepage!
 
Old 01-28-2005, 03:42 PM
lajkonik86's Avatar
Ultra Talker

Posts: 389
yep suppose there's no easier way
__________________
Know what to Download
http://www.top-download.net
lajkonik86 is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Images Cache
 

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




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

 


Page generated in 0.12899 seconds with 13 queries