Adobe AIR / Flex中的嵌入式浏览器 - 缓存javascript和css文件?

时间:2015-09-14 15:18:04

标签: javascript css actionscript-3 flex air

我正在运行用adobe actionscript / air flex编写的桌面应用程序。

某些网页是通过mx:HTML组件嵌入的。

问题:此组件是否提供了来自页面的jscss文件的缓存?如果是,只要应用程序运行,它们是否被缓存?或者它们是否能够在应用程序重启后继续存在?

1 个答案:

答案 0 :(得分:0)

The Flex HTML component wraps HTMLLoader, which has cacheResponse and useCache to control caching. When cached, it uses the "operating system's HTTP cache", so I wouldn't assume that it will always work any particular way, it's up to the OS and user preferences.