“Silverlight falls under the same
caching rules as any other web
content. If the user clears their
cache,your xap will have to be
downloaded again. In normal
circumstances,the xap is downloaded
only when changed or when the cache
expires.”
您可以按照steps outlined here控制缓存何时到期:
You can turn the Enable Content
Expiration http header option on for
your XAP file. Open IIS Manager,goto
Default Web Site and find your Web
site for the silverlight project. Find
the XAP file under ClIEntBin. Goto the
propertIEs page of the XAP file,on
http headers Tab,Turn on “Enable
Content Expiration”,click the “Expire
Immediately” radio button. Save the
change.This way the new XAP (only there is a
new XAP) will get downloaded when you
refresh your page without having to
close the browser.
这个related post也可能是有意义的.
总结以上是内存溢出为你收集整理的Silverlight每次都下载程序集吗?全部内容,希望文章能够帮你解决Silverlight每次都下载程序集吗?所遇到的程序开发问题。
如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)