Image swapping and browser caching issues

G

Guest

1. Is there a way for a JavaScript (or any client side
script) to detect whether a visitor has changed their
browser cache setting from "Automatically" to "Every visit
to the page"?

The problem: When using JavaScript to do image swaps
dynamically, everything is fine ---IF--- the browser is
set to cache. However, many web developers (and any user
that has ever called tech support asking "why can't I see
my latest changes?") often turn off the cache setting so
they can develop. If a browser with the cache turned off
hits a dynamic image swap (even one with precache
efforts... ie, new Image object, set it's .src, check
it's .readyState for "complete", etc) you can watch the
GET requests pile up in the access log. So, ...if only
the script could let the author say "Sorry, your browser
cache setting is set to "Every visit to the page", but you
need to change it back to "Automatically" or "Never" and
hit "Reload"... then I'll go ahead and render this
animation for you." (anyone know a way to do this?)


(I already tried checking the Image's .readyState before
and after the dynamic swaps... it always
returns "complete" after the initial loading has succeeded)
 
G

Guest

Hmm.... still nothing... anyone out there know how to
write JavaScript? ....bueller, ....bueller
 
R

Robert Aldwinckle

Hmm.... still nothing... anyone out there know how to
write JavaScript? ....bueller, ....bueller

This newsgroup is mainly for IE6 operation and recovery issues.
There isn't very much programming expertise here.
Unfortunately there are no newsgroups specifically aimed at
programming for IE6 so when this type of question comes up
I usually point out the ie5.programming and ie55.programming
set of newsgroups. I haven't looked at any of these to see how
active they are.


Good luck

Robert Aldwinckle[/QUOTE]
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top