Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

Coding Forum


You are currently viewing our Coding Forum as a guest. Please register to participate.
Login



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

Posts: 389
Trades: 0
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

Please login or register to view this content. Registration is FREE
lajkonik86 is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 01-27-2005, 04:09 AM
Ultra Talker

Posts: 377
Trades: 0
Maybe you should disable caching of your page using a <META> tag.
__________________
andrews_john

Please login or register to view this content. Registration is FREE
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
Trades: 0
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

Please login or register to view this content. Registration is FREE
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
Trades: 0
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
Trades: 0
yep suppose there's no easier way
__________________
Know what to Download

Please login or register to view this content. Registration is FREE
lajkonik86 is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Images Cache
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

BB 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.61288 seconds with 12 queries