Flex RSL 了解
到目前为止,我在
中使用“合并到代码”作为“框架链接” 弹性生成器。现在,我将其更改为“运行时共享库”。关于做事
我得到了 myapp.swf 的发布版本,大约为 260 KB,这是较早的
接近 350 KB。它还生成了framework.swz和framework.swf。
但我只在网站上复制了 myapp.swf,而不是 framework.swz。
该网站仍然运行良好。我还清除了 Flash 播放器缓存
来自此处。没有 .swz 文件它也可以正常工作。所以我的问题是:
framework.swz 文件是否实际使用,或者 Flash 播放器是否有
事先复制一份。并且该副本是否未通过清除缓存来清除
闪存播放器?
而且,即使清除缓存后,我也没有看到对 framework.swz 的请求 在萤火虫中。为什么?
Till now I was using "Merged into code" for "Framework Linkage" in
Flex Builder. Now, I changed it to "Runtime shared library". On doing
a release build I got myapp.swf which is roughly 260 KB which was earlier
close to 350 KB. It also generated framework.swz and framework.swf.
But I copied only myapp.swf on my web site and not framework.swz.
Still the website works just fine. I also cleared the flash player cache
from here. It works just fine without the .swz file. So my questions are:
Is the framework.swz file actually used or does the flash player have
a copy of it beforehand. And is that copy not cleared by clearing cache of
flash player?
And, even after clearing the cache, I didn't see a request for framework.swz
in firebug. Why?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
Framework.swz RSL 存储在特殊的 Flash Player 缓存中。它可以跨域工作。对于那些缓存中还没有 RSL 的人来说,您肯定需要 Framework.swz 文件。在 Linux 上,缓存位于:.adobe/Flash_Player/AssetCache
另外,如果您还没有这样做,请确保为您的生产应用程序执行导出发布构建。这将进一步缩小尺寸。
The framework.swz RSL is stored in a special Flash Player cache. It works cross-domain. You will definitely need the framework.swz file there for those that don't yet have the RSL in their cache. On Linux the cache is at: .adobe/Flash_Player/AssetCache
Also, if you are not already doing so, make sure you do a Export Release Build for your production app. That will reduce the size further.