Flex 1.5: Using taglib causes MXML to be recompiled on every request
Issue
When you use Flex 1.5 taglib to include an MXML application and use the source attribute, Flex recompiles the MXML application on every request.
For example:
<mm:mxml id="myapp" source="myapp.mxml" > ...</mm:mxml>
Reason
This has been identified as Flex bug 109116. Due to this issue, Flex is not able to add the generated SWF to the cache and must therefore recompile the MXML on every request.
Solution
To work around the problem, you should use a sub tag instead of the source attribute.
<mm:mxml id="myapp" ><myapp xmlns:="*" /></mm:mxml>
This will prevent Flex from recompiling the MXML on every request.
This content requires Flash
To view this content, JavaScript must be enabled, and you need the latest version of the Adobe Flash Player.
Download the free Flash Player now!
