Solved

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

Posted on 2014-11-13
7
192 Views
Last Modified: 2014-11-20
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
0
Comment
Question by:NAKBrooks
  • 4
  • 3
7 Comments
 
LVL 25

Expert Comment

by:dgrafx
ID: 40442946
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.
0
 

Author Comment

by:NAKBrooks
ID: 40444589
Sorry that's not relevant to my issue. I've managed to sort out a workaround so I'll close this question.
0
 

Accepted Solution

by:
NAKBrooks earned 0 total points
ID: 40444592
Didn't resolve the issue but managed to persuade the data owner to load the data onto a website so I could link to it there, rather than from the ftp site.  This resolved my issue.
0
Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

 
LVL 25

Expert Comment

by:dgrafx
ID: 40444594
What is your workaround?
0
 

Author Comment

by:NAKBrooks
ID: 40444596
Data now on web site so no need to link to ftp site therefore issue doesn't arise.
0
 
LVL 25

Expert Comment

by:dgrafx
ID: 40444598
You beat me posting the last comment ...
0
 

Author Closing Comment

by:NAKBrooks
ID: 40454627
Issue resolved by workaround.
0

Featured Post

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Color can increase conversions, create feelings of warmth or even incite people to get behind a cause. If you want your website to really impact site visitors, then it is vital to consider the impact color has on them.
Today, the web development industry is booming, and many people consider it to be their vocation. The question you may be asking yourself is – how do I become a web developer?
Any person in technology especially those working for big companies should at least know about the basics of web accessibility. Believe it or not there are even laws in place that require businesses to provide such means for the disabled and aging p…
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

791 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question