Caching form elements for performance

Add-in Express™ Support Service
That's what is more important than anything else

Caching form elements for performance
 
Ralph Smith




Posts: 45
Joined: 2006-06-19
Hello,

I've developed an Outlook add-in using Add-in Express. The main form replaces a folder view and everything seems ok for now except the plugin is very, very, SLOW to load. This is because form has a lot of memory intensive elements on it.

Has anyone come up with a successful solution for caching forms for future use? I don't mind that the first load is slow, but I'd like the form to be cached for future use if Outlook is restarted.

Any pointer would be greatly appreciated.

Thanks
Posted 13 May, 2007 23:43:46 Top
Eugene Starostin


Guest


Hello Ralph,

There is no universal solution. However, I suggest you initializing your form asynchronously via an additional thread. Of course, you will run into some pitfalls :-)

Has anyone come up with a successful solution for caching forms for future use? I don't mind that the first load is slow, but I'd like the form to be cached for future use if Outlook is restarted.


In this case your form should be created in a separate background process. In general, it is possible but a very complicated way.
Posted 16 May, 2007 13:22:05 Top