Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - Cached Images and Bandwidth
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Cached Images and Bandwidth

 Post Reply Post Reply
Author
ctscott View Drop Down
Senior Member
Senior Member


Joined: 27 May 2003
Location: United States
Status: Offline
Points: 246
Post Options Post Options   Thanks (0) Thanks(0)   Quote ctscott Quote  Post ReplyReply Direct Link To This Post Topic: Cached Images and Bandwidth
    Posted: 05 December 2006 at 2:32pm

Does anyone know if an image that is cached in a browser is still sent by the Server to the browser or is bandwidth preserved by not requesting the image from the server?  If that makes any sense.

______________________
College Football Trivia
Back to Top
Mikey View Drop Down
Senior Member
Senior Member

1979

Joined: 06 October 2003
Location: United Kingdom
Status: Offline
Points: 839
Post Options Post Options   Thanks (0) Thanks(0)   Quote Mikey Quote  Post ReplyReply Direct Link To This Post Posted: 05 December 2006 at 2:40pm
I've always assumed that the browser checks to see if there is a cached version of the image first and if there is it uses that, thus saving time and bandwidth
Handyman man?
Back to Top
Gullanian View Drop Down
Senior Member
Senior Member
Avatar

Joined: 04 January 2002
Location: England
Status: Offline
Points: 4373
Post Options Post Options   Thanks (0) Thanks(0)   Quote Gullanian Quote  Post ReplyReply Direct Link To This Post Posted: 06 December 2006 at 12:54am
Yup.  All images on pages are external to each page, so the browser looks for a cache of each one and doesn't bother requesting it if it has one unless of course it meets some sort of criteria such as "old enough to look again".
Back to Top
ctscott View Drop Down
Senior Member
Senior Member


Joined: 27 May 2003
Location: United States
Status: Offline
Points: 246
Post Options Post Options   Thanks (0) Thanks(0)   Quote ctscott Quote  Post ReplyReply Direct Link To This Post Posted: 06 December 2006 at 3:01pm
do you think any of the following would change it to re-pull from the server?
 
Response.ExpiresAbsolute = Now() - 2
Response.AddHeader "pragma","no-cache"
Response.AddHeader "cache-control","private"
Response.CacheControl = "private"
 
 
say no because i like your answer.  Big%20smile
______________________
College Football Trivia
Back to Top
scottage View Drop Down
Newbie
Newbie


Joined: 20 August 2004
Location: United Kingdom
Status: Offline
Points: 15
Post Options Post Options   Thanks (0) Thanks(0)   Quote scottage Quote  Post ReplyReply Direct Link To This Post Posted: 09 January 2007 at 4:02pm
Adding response expires, etc. will only affect HTML caching, Images are loaded as an external resource so the browser will look in its local cache, if it isn't there it will request it from the source. If you're have a real issue then look at a caching server or caching service
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.