How Do I Optimize Access to a Component? (Magic xpa 4.x)
![](/PublicKnowledge/servlet/rtaImage?eid=ka23z0000004PLy&feoid=00ND0000005rAjf&refid=0EM3z000001re1I)
Before a component can be run for the first time, it has to be loaded into memory. In order to ensure there is no delay the first time the component is run, you can specify to Magic xpa that the component be loaded when the project is loaded.
This is specified in two places. When a component is generated, the Load immediate flag can be specified in the .eci. This then becomes the default setting for the flag.
Then, in the Composite resource repository, you can override the default settings for each component, in the Component properties (Alt+Enter).