Charts with XML datasource + IE + caching = bad
I was having a devil of a time getting some graphs to work in Rails. I was using a flash graph tool that takes XML as input. So, I had a controller that handed out XML. No problem.
In Firefox, I didn’t have issues. But, Internet Explorer would randomly not show the graph and would show the ‘datasource not found’ error. Browsing to the datasource would work fine.
Well, it turns out that XML data and IE don’t play together nicely when you’re using caching. Thomas at lessrain.com came up with the solution I needed, which was to remove some of the caching headers for the XML actions.
