Link to home
Start Free TrialLog in
Avatar of NAKBrooks
NAKBrooksFlag 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
Avatar of dgrafx
dgrafx
Flag of United States of America image

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.
Avatar of 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
Avatar of NAKBrooks
NAKBrooks
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
What is your workaround?
Data now on web site so no need to link to ftp site therefore issue doesn't arise.
You beat me posting the last comment ...
Issue resolved by workaround.