加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 百科 > 正文

什么是用于闪存的RSL(运行时共享库??)?

发布时间:2020-12-15 07:22:03 所属栏目:百科 来源:网络整理
导读:请注意,我不是在询问使用什么SWC,我知道这一点. 我想知道,在闪存中使用RSL.假设我通过将特定文件夹指定为“其他源文件夹”,我目前正在使用一些有用的类. 那么,我可以在这里使用RSL吗?如果没有,何时以及为什么我需要使用RSL(我使用SWC没有任何问题,但我想知
请注意,我不是在询问使用什么SWC,我知道这一点.

我想知道,在闪存中使用RSL.假设我通过将特定文件夹指定为“其他源文件夹”,我目前正在使用一些有用的类.

那么,我可以在这里使用RSL吗?如果没有,何时以及为什么我需要使用RSL(我使用SWC没有任何问题,但我想知道如何使用RSL,而不是制作SWC,即只是通过一堆actionscript类)

谢谢
V.

解决方法

我建议阅读Adobe的RSL简介:

http://help.adobe.com/en_US/flex/using/WS2db454920e96a9e51e63e3d11c0bf674ba-7fff.html

One way to reduce the size of your applications’ SWF files is by
externalizing shared assets into stand-alone files that can be
separately downloaded and cached on the client. These shared assets
can be loaded and used by any number of applications at run time,but
are transferred only once to the client. These shared files are known
as Runtime Shared Libraries or RSLs.

When multiple applications share a core set of components or classes,clients can download those assets only once as an RSL rather than once for each application. The RSLs are persisted on the client disk so that they do not need to be transferred across the network a second time. The resulting file size for the applications can be reduced. The benefits increase as the number of applications that use the RSL increases.

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读