如何利用XAPS的浏览器缓存
我有一个 Silverlight 应用程序,当前使用以下命令按需下载 XAP: 来自 System.ComponentModel.Composition.Packaging 命名空间的 Package.DownloadPackageAsync()。
据我所知,这可以规避任何可能发生的 XAPS 浏览器缓存。有谁知道如何使用按需下载来利用浏览器缓存?我唯一能想到的就是在独立存储中自己缓存 XAP。
谢谢,
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,
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
根据 Glenn Blocks 的最新帖子:“我们正在研究未来的缓存程序集支持。”
http: //codebetter.com/blogs/glenn.block/archive/2010/03/07/building-hello-mef-part-iv-deploymentcatalog.aspx
也就是说,除了将 XAP 缓存在独立存储中之外,如果您正在运行 OOB,您可以在本地系统上手动缓存 XAP。
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.