开发者

How to take advantage of browser caching of XAPS

开发者 https://www.devze.com 2022-12-22 04:45 出处:网络
I have a Silverlight Application that currently downloads XAPs on demand using Package.DownloadPackageAsync() from the System.ComponentModel.Composition.Packagingnamespace.

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消