Avatar of NAKBrooks
NAKBrooks
Flag for United Kingdom of Great Britain and Northern Ireland asked on

Image with cache busting query string won't load from FTP site in IE11

My web site displays real-time instrumentation using an iFrame that takes content from an FTP server.  That content comprises a web page which references two images (which are also on the FTP server).

I have to pull the content from the FTP server - I have no control over its location and cannot easily copy it to a web server as it is updated every 20secs.

The web page loads into the iFrame fine and refreshes OK (it contains a JavaScript function to reload itself every 20secs).

The problem is with the two images that the page references. The application that generates those images (over which I have no control) adds a cache-busting query string to their URL (in the form image.jpg?dd/mm/yy). This obviously makes sense as the images change every 20secs but their size may not necessarily change so the cache-buster makes sure they are reloaded.

However, while the images load and reload in Firefox they don't in IE11 - IE11 doesn't seem to like query strings in FTP URLs.

Is this a known issue, and is there a work-around?

Thanks

Nigel
Web Development

Avatar of undefined
Last Comment
NAKBrooks

8/22/2022 - Mon
dgrafx

I'm not specifically familiar with your issue but was reading somewhere that IE 11 changed the character encoding for URLs.
I am also not knowledgeable as to if this is what is affecting you.

Here is a link to read through about some of the IE 11 changes - does it fix your problem??? I don't know ...
http://singleconcept.wordpress.com/2013/12/10/internet-explorer-11-dont-call-me-ie/

What you could do is re-write the script_name gotten from the URL leaving off the query_string - then feed that URL to the browser - and if you need a cache-buster then add in your own but this time one that IE 11 and others will all work with.
NAKBrooks

ASKER
Sorry that's not relevant to my issue. I've managed to sort out a workaround so I'll close this question.
ASKER CERTIFIED SOLUTION
NAKBrooks

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
dgrafx

What is your workaround?
I started with Experts Exchange in 2004 and it's been a mainstay of my professional computing life since. It helped me launch a career as a programmer / Oracle data analyst
William Peck
NAKBrooks

ASKER
Data now on web site so no need to link to ftp site therefore issue doesn't arise.
dgrafx

You beat me posting the last comment ...
NAKBrooks

ASKER
Issue resolved by workaround.
Get an unlimited membership to EE for less than $4 a week.
Unlimited question asking, solutions, articles and more.