Search:
Namespaces
Discussions
.NET v1.1
Feedback
IE BUG! - javascript updates not being loaded
Messages
Related Types
This message was discovered on
ASPFriends.com 'aspngfreeforall' list
.
Greg Quinn
This is really frustrating....
My browser keeps viewing old versions of javascript source files that have
been included in my .aspx pages using the <script language = "javascript"
src = "myfile.js"></script> command.
I can even delete a javascript file and my browser will still load it up.
The only way I can get past this is to save the javascript file under
another name, and then change all refernces to that .js file to the new
name.
Rebooting my pc or nothing else helps!!
My history is set on 0 days, I've cleared my cache, everything, but nothing
helps. Why is the browser not looking for a new version of these files?
I am using IE 6.0.2600.0000
Greg
Reply to this message...
chris
IE 6 has an internal cache-control machanism. I had a similar problem with
dynamically drawn pictures taking lots of cycles to load. Tools > Internet
Options...General tab -> Temporary internet files -> click settings. You
will see a new dialog called settings. Check for newer versions of stored
pages -> click the Every visit to the page radio.
hth,
-Chris Frazier
.NET Solution Developer
Velocity Databank, Inc.
www.velocitydatabank.com
-----Original Message-----
From: Greg Quinn [mailto:
Click here to reveal e-mail address
]
Sent: Tuesday, August 13, 2002 7:18 PM
To: aspngfreeforall
Subject: [aspngfreeforall] IE BUG! - javascript updates not being loaded
This is really frustrating....
My browser keeps viewing old versions of javascript source files that have
been included in my .aspx pages using the <script language = "javascript"
src = "myfile.js"></script> command.
I can even delete a javascript file and my browser will still load it up.
The only way I can get past this is to save the javascript file under
another name, and then change all refernces to that .js file to the new
name.
Rebooting my pc or nothing else helps!!
My history is set on 0 days, I've cleared my cache, everything, but nothing
helps. Why is the browser not looking for a new version of these files?
I am using IE 6.0.2600.0000
Greg
| ASP.net DOCS =
http://www.aspng.com/docs
| [aspngfreeforall] member
Click here to reveal e-mail address
= YOUR ID
|
http://www.asplists.com/aspngfreeforall
= JOIN/QUIT
| news://ls.asplists.com = NEWSGROUP
Reply to this message...
Greg Quinn
I always set that setting whenever I load IE, so something is definately not
working properly...
It also happens on my friend's PC.
-----Original Message-----
From: chris [mailto:
Click here to reveal e-mail address
]
Sent: Tuesday, August 13, 2002 8:30 AM
To: aspngfreeforall
Subject: [aspngfreeforall] RE: IE BUG! - javascript updates not being
loaded
IE 6 has an internal cache-control machanism. I had a similar problem with
dynamically drawn pictures taking lots of cycles to load. Tools > Internet
Options...General tab -> Temporary internet files -> click settings. You
will see a new dialog called settings. Check for newer versions of stored
pages -> click the Every visit to the page radio.
hth,
-Chris Frazier
.NET Solution Developer
Velocity Databank, Inc.
www.velocitydatabank.com
-----Original Message-----
From: Greg Quinn [mailto:
Click here to reveal e-mail address
]
Sent: Tuesday, August 13, 2002 7:18 PM
To: aspngfreeforall
Subject: [aspngfreeforall] IE BUG! - javascript updates not being loaded
This is really frustrating....
My browser keeps viewing old versions of javascript source files that have
been included in my .aspx pages using the <script language = "javascript"
src = "myfile.js"></script> command.
I can even delete a javascript file and my browser will still load it up.
The only way I can get past this is to save the javascript file under
another name, and then change all refernces to that .js file to the new
name.
Rebooting my pc or nothing else helps!!
My history is set on 0 days, I've cleared my cache, everything, but nothing
helps. Why is the browser not looking for a new version of these files?
I am using IE 6.0.2600.0000
Greg
| ASP.net DOCS =
http://www.aspng.com/docs
| [aspngfreeforall] member
Click here to reveal e-mail address
= YOUR ID
|
http://www.asplists.com/aspngfreeforall
= JOIN/QUIT
| news://ls.asplists.com = NEWSGROUP
| ASP.net DOCS =
http://www.aspng.com/docs
| [aspngfreeforall] member
Click here to reveal e-mail address
= YOUR ID
|
http://www.asplists.com/aspngfreeforall
= JOIN/QUIT
| news://ls.asplists.com = NEWSGROUP
Reply to this message...
Michael Wells
Greg, are you going through a proxy?
-- Michael Wells
[Original message clipped]
Reply to this message...
Greg Quinn
Hehe, yip, thanks, I figured it was that !
I just changed my IE settings to not use proxy and it works fine now!
But I still don't understand, why will .htm, aspx and asp pages refresh, but
no .js files?
Greg
-----Original Message-----
From: Michael Wells [mailto:
Click here to reveal e-mail address
]
Sent: Wednesday, August 14, 2002 7:29 AM
To: aspngfreeforall
Subject: [aspngfreeforall] RE: IE BUG! - javascript updates not being
loaded
Greg, are you going through a proxy?
-- Michael Wells
[Original message clipped]
| ASP.net DOCS =
http://www.aspng.com/docs
| [aspngfreeforall] member
Click here to reveal e-mail address
= YOUR ID
|
http://www.asplists.com/aspngfreeforall
= JOIN/QUIT
| news://ls.asplists.com = NEWSGROUP
Reply to this message...
Michael Wells
Unfortunately I don't have a "real" answer for that; but if I had to
guess, it would be because the .js extension is purely arbitrary. By
that I mean, with no reconfig, you could name your .js file to ".greg"
and everything would continue to work normally. This really has nothing
to do with anything, except to suggest that perhaps the default proxy
config doesn't recognize .js files on its list of "known web file
types", and it therefore might cache them differently.
A second piece of pure speculation... the webserver might actually play
a role in this through HTTP header formation. If the proxy is looking
at the HTTP-Header to determine when a cached file is outdated, it would
be up to the webserver to report this properly. Since the webserver
-also- has a cache, God only knows how its decision making works. Never
though you'd need triple-buffered .js files, did you?
Again, this is all rampant speculation. I'm setting up an ISA server
today, so I should no more by midnight than I ever wanted to. Just wish
I had a packet sniffer.
To fix this, you could try a hack (rename all your .js files to .htm;
keep them in a subdir. Or, you could try a real fix. I'd start with
the webserver and work outward from there. See if it knows what .js
files are, etc. =20
If you really want to know what's going on, try telnetting directly to
the webserver and perform manual GET transactions on different file
types, to see what it's returning in the header after a change occurs.
-- Michael Wells
[Original message clipped]
Reply to this message...
Ad
MBR BootFX
Best-of-breed application framework for .NET projects, developed by Matthew Baxter-Reynolds and MBR IT
Copyright © Matthew Baxter-Reynolds 2001-2008. '.NET 247 Software Development Services' is a trading style of MBR IT Solutions Ltd.
Contact Us
-
Terms of Use
-
Privacy Policy
-
www.dotnet247.com