Web Design Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsWeb DesignWeb Design Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old April 3rd, 2002, 03:48 PM
bwebb@SCGI bwebb@SCGI is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2002
Posts: 16 bwebb@SCGI User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Client-side Image Caching

My understanding of client side image caching is as follows:

1. Images are saved to the /temp directory or whatever directory specified as the temporary internet folder for Netscape 4.x and IE 5.X and 6.X whenever a webpage is accessed with image references as part of the content being transferred to the requesting client.

2. Depending on the browser settings, the browser is supposed to check and see if the image being referenced/transferred already exists, and if so, will use the cached copy of the image in the temporary internet folder.

Here are the questions:

1. Biggest one of all...do I understand the use of the temporary internet folder and it's capabilities correctly.

2. If the image referenced in the requested page already exists in the clients temporary internet folder, why does it appear that the image is not being read from the local folder, but instead goes out to the webserver and obtains another copy. (I'm assuming this is what happens when the urls flash in the status bar of the browser as images are being referenced.)

3. How is the cached image caparison conducted, or how does the client know if a newer version of the same image is available? (byte comparison? timestamp?)

4. Is there a way to force the use of client side cached images?

Any help in this area would be greatly appreciated. Thanks in advance.

Reply With Quote
  #2  
Old April 9th, 2002, 05:17 AM
binky's Avatar
binky binky is offline
Gerbil
Dev Shed Intermediate (1500 - 1999 posts)
 
Join Date: Oct 2001
Location: In a Rotastak
Posts: 1,763 binky User rank is Sergeant (500 - 2000 Reputation Level)binky User rank is Sergeant (500 - 2000 Reputation Level)binky User rank is Sergeant (500 - 2000 Reputation Level)binky User rank is Sergeant (500 - 2000 Reputation Level)binky User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 22 h 12 m 52 sec
Reputation Power: 18
As far as I was told:

1. Biggest one of all...do I understand the use of the temporary internet folder and it's capabilities correctly.

>>Yes, that is the theory.

2. If the image referenced in the requested page already exists in the clients temporary internet folder, why does it appear that the image is not being read from the local folder, but instead goes out to the webserver and obtains another copy. (I'm assuming this is what happens when the urls flash in the status bar of the browser as images are being referenced.)

>> The browser has to check for an updated copy, so will go to the server and check. If the version there isn't newer it will not download it. Although it means traffic going back and forth, it's quicker than downloading the file itself.

3. How is the cached image caparison conducted, or how does the client know if a newer version of the same image is available? (byte comparison? timestamp?)

>> URL,filename,timestamp. A byte comparison would take longer than downloading the file, so would be useless.

4. Is there a way to force the use of client side cached images?

>> Not that I know of, if the local settings say don't cache then the browser wont cache, simple as that.
__________________
- Sorted!

www.ppfuk.com - Free Photo Sharing

Reply With Quote
  #3  
Old February 26th, 2004, 12:04 PM
P_O_D_U_N_K P_O_D_U_N_K is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2004
Posts: 1 P_O_D_U_N_K User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 15 m 12 sec
Reputation Power: 0
Is there a way to forward the current page to a different URL when the refresh button is hit, using Javascript or something similar?

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignWeb Design Help > Client-side Image Caching


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway