MailSite Knowledge Base

Enter text to search for or enter the document ID number.
Search:   
Doc ID:   

Changing Delay Loading in ExpressPro
Document #:10471

Applies To:
  • MailSite 8.0.5
  • ExpressPro 8.0.5

Synopsis:
With the release of version 8.0.5 of ExpressPro a new feature has been introduced called 'Delay Loading'. This can cause some sections of ExpressPro to load faster or slower than others.

More Information:

What is Delay Loading

Delay Loading is a new technique employed by ExpressPro to improve the performance of the webmail client so the login time and the overall time to display the mail section of the client is reduced. By default in ExpressPro 8.0.5, delay loading is “enabled” meaning faster login, but slightly slower loading of other sections e.g Contacts and Calendars.

Getting the Fastest login time (The default setting)

To make Login and Mail (otherwise known as the Folder Viewer) access as fast as possible, but at the expense of having to wait whilst Calendars, Contacts and Settings load when you click on the sections for the first time, you need to “enable” delay loading.

  • Navigate to MailSite\ExpressPro\Web\web.config and open this within a text editor.
  • In "sectionsConfiguration" (line 35 - 40), change the lines for Calendar, Contact and Settings to be: delayLoad="true" (but leave Folder Viewer as: delayLoad="false”)
<sectionsConfiguration>
<section name="Folder Viewer" id="Fv" path="~/FolderViewer/FolderViewer.ascx" image="/images/NavBar/mail.gif" delayLoad="false" stickyDelayLoading="true" prefetchPage="~/Compose.aspx"/>
<section name="Calendar Viewer" id="Cv" path="~/CalendarViewer/CalendarViewer.ascx" image="/images/NavBar/calendar.gif" delayLoad="true" stickyDelayLoading="true"/>
<section name="Contact Manager" id="Cm" path="~/ContactManager/ContactManager.ascx" image="/images/NavBar/contacts.gif" delayLoad="true" stickyDelayLoading="true"/>
<section name="Settings Manager" id="Sm" path="~/SettingsManager/SettingsManager.ascx" image="/images/NavBar/settings.gif" delayLoad="true" stickyDelayLoading="true"/>
</sectionsConfiguration>

Faster loading of Calendars, Contacts, Settings

To have faster access to all sections, but at the expense of having a slightly longer login time, you need to “disable” delay loading.

  • Navigate to MailSite\ExpressPro\Web\web.config and open this within a text editor.
  • In "sectionsConfiguration" (line 35 - 40), change all sections to be: delayLoad="false"
<sectionsConfiguration>
<section name="Folder Viewer" id="Fv" path="~/FolderViewer/FolderViewer.ascx" image="/images/NavBar/mail.gif" delayLoad="false" stickyDelayLoading="true" prefetchPage="~/Compose.aspx"/>
<section name="Calendar Viewer" id="Cv" path="~/CalendarViewer/CalendarViewer.ascx" image="/images/NavBar/calendar.gif" delayLoad="false" stickyDelayLoading="true"/>
<section name="Contact Manager" id="Cm" path="~/ContactManager/ContactManager.ascx" image="/images/NavBar/contacts.gif" delayLoad="false" stickyDelayLoading="true"/>
<section name="Settings Manager" id="Sm" path="~/SettingsManager/SettingsManager.ascx" image="/images/NavBar/settings.gif" delayLoad="false" stickyDelayLoading="true"/>
</sectionsConfiguration>

Mixing the Settings

You may choose to delay load some sections but not others depending on the types of customers you have and what sections they use most often.

For example, perhaps you want fast login, but also need frequent and fast access to Contacts

  • Navigate to MailSite\ExpressPro\Web\web.config and open this within a text editor.
  • In "sectionsConfiguration" (line 35 - 40), change the lines for Calendar and Settings to be: delayLoad="true",change Contacts to be: delayLoad="False" (leave Folder Viewer as: delayLoad="false”)
As mail is always the first section to load this should always be set to “false”. <sectionsConfiguration>
<section name="Folder Viewer" id="Fv" path="~/FolderViewer/FolderViewer.ascx" image="/images/NavBar/mail.gif" delayLoad="false" stickyDelayLoading="true" prefetchPage="~/Compose.aspx"/>
<section name="Calendar Viewer" id="Cv" path="~/CalendarViewer/CalendarViewer.ascx" image="/images/NavBar/calendar.gif" delayLoad="true" stickyDelayLoading="true"/>
<section name="Contact Manager" id="Cm" path="~/ContactManager/ContactManager.ascx" image="/images/NavBar/contacts.gif" delayLoad="false" stickyDelayLoading="true"/>
<section name="Settings Manager" id="Sm" path="~/SettingsManager/SettingsManager.ascx" image="/images/NavBar/settings.gif" delayLoad="true" stickyDelayLoading="true"/>
</sectionsConfiguration>

There are many factors that affect the performance of ExpressPro including (but not limited to) Server speed, memory, network bandwidth, Internet bandwidth (from client) so users may need to experiment to see which configuration suits and performs best on individual deployments.

Last revised 2008-4-7
 
 

MailSite SE - Easy email and calendar server software for small businesses | MailSite ExpressPro - AJAX email and calendar client for web browsers
MailSite Collaborator SP - Scalable and clustered email and calendar hosting software | Email Server and Calendar Server Software
MailSite Calendar Server Software | MailSite Anti-Virus | Mailsite Anti-Spam | Customer Portal | Support
Special Offers | Webstore | Services | Partners | Press | Company | Contact | Reviews | Site Map | Privacy | ©2008 MailSite, Inc.