Solved

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

Posted on 2014-11-13
7
190 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
DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

 
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

Suggested Solutions

Title # Comments Views Activity
Google search result shows " This site may be hacked" 12 87
Connect MySql database to wordpress site 3 66
.php tree directory? 5 72
hosting images 4 29
Learn by example how to specify CSS selectors for Selenium WebDriver test automation software.
Get to know the ins and outs of building a web-based ERP system for your enterprise. Development timeline, technology, and costs outlined.
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.

773 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