« Google Chrome Initial Experience | Main | Pixel Bender Live »
Do you cache?
| By Rich Tretola | September 8, 2008 | Print This Post
|
| 1,059 views |
One of the coolest features of Flex 3 is framework caching. But, I wonder how many are actually using it. I just enabled it on an application that we are releasing tomorrow and it took the application size from around 1mb to only 531k. That is almost a 50% reduction in download for users whom already have the framework cached.
Please let me know your experiences with Flex Framework caching. If you haven’t used it yet, check out the documentation on how to here.
Topics: Flex, Flex 3 (Moxie) |









September 8th, 2008 at 1:40 pm
I actually avoid using as much of the Flex framework as possible. I find theres a lot I can do to limit the use of the Framework while still getting the most out of Flex. Only recently, I removed the majority of the primary swc’s from a project and reduced it from 350k to only 81k. Of course, it’s not always possible. It simply depends on the project.
September 8th, 2008 at 2:07 pm
Hi Rich, Yes, we TRY to cache the framework. The only problem we have is that we’re using patched versions of the Flex framework (we have a few WebService bugs only solved in patched versions), so our users are stuck using our own version of the framework since Adobe only released Framework rsl’s (swz files) for major releases.
September 8th, 2008 at 3:58 pm
Hi Rich, I use framework caching and could reduce the app size from about 500k to 120k. I tested it on several environments and experienced an error on the first load. After reloading the app it worked without any problems. Unfortunately I couldn’t reproduce the error but it was something like ‘error loading RSL’. Apart from that I think that framework caching is a very important feature.
September 10th, 2008 at 6:54 am
Hi Rich, I tried to use it in one of project we are building here in our company it’s a bit big project(more then 1mb in total) so framework caching was one thing we were looking for to help us out a bit. But it didn’t worked well for me. Actually our application is module based applications and it has external stylesheet which loads at runtime dynamically. So whenever i try to implement framework caching it starts behaving erratically. i.e. either some of modules wont load properly or sometimes stylesheet wont load properly as most of styles wont get implemented. Not sure what’s the reason is it module? or external stylesheet as there is no error which it reports during compilation or loading. I couldn’t find of much help in this regard anywhere.
Thanks,
Vivek.