Pretty lame problem:
I have an xml file that gets updated everyday on a server. Chrome keeps on getting the original cached xml file and not the updated version. The file is hosted on azure.
Any ideas how I could force Chrome to get the latest version instead? (obviously, asking the user the clear the cache isn’t an option)
I would append something to the URL as a dummy query string, to make sure that no browser will treat it as the same resource, forcing them to load the new version. You don’t need to modify the serverside script, as it can safely ignore the new query string.
For this particular application, where updates are daily, it makes sense appending today’s date, like so, in the request:
That way, even if the browser caches that particular XML file, tomorrow the query string will be different and the resource will be fetched again.
Unfortunately, I know nothing about Silverlight itself, but you seem to already be able to load the file.