How to prevent a Silverlight .XAP from being cached…

To be safe one should add (and change) a query parameter after their Silverlight application to prevent the file from being cached.

The HTML would look something like:

<param name="source" value="ClientBin/MySilverlightApplication.xap?revision=2012011801"/>
And the revision needs to be changed after every new build that is published.

Leave a Reply

Your email address will not be published. Required fields are marked *