How to take advantage of browser caching of XAPS
I have a Silverlight Application that currently downloads XAPs on demand using Package.DownloadPackageAsync() from the System.ComponentModel.Composition.Packaging namespace.
As far as I can tell this circumvents any sort of browser caching of XAPS that may take place. Does anyone know how to take advantage of browser caching using on demand downloads ?开发者_开发知识库 The only thing i can think of is doing my own caching of XAPs in isolated storage.
Thanks,
According to Glenn Blocks latest post: "We are looking into cached assembly support in the future."
http://codebetter.com/blogs/glenn.block/archive/2010/03/07/building-hello-mef-part-iv-deploymentcatalog.aspx
That being said, aside from caching the XAP in isolated storage, if you are running OOB you could cache the XAP manually on the local system.
精彩评论