Table of Contents

Speed optimization for Home Maps

Home maps are a powerful functionality. In many cases they serve as a branding functionality, working together with the color theme, logo and use case of the vault. Since the central home screen is opened, initialized and shown very often, it makes sense to think about its loading speed. The following aspects have significant influence:

In Version 2.0 there has been a massive overhaul for speed improvements. With Fast Navigation being the new standard, we chose to completely refactor this area.

  • Now both interactive or static (svg) maps can be shown based on many different conditions.
  • Persistent tabs can be created which stay alive the whole explorer session. You can always come back to them an use them for navigation.
  • Tabs can be living as long as you are in a specific section of the view tree structure. Many orgs have different collections of views fo different purposes (i.e client management, HR related etc..). When you navigate into views a persistent tab can show up and offer help … or go away when you navigate out of the view hierarchy.

We recommend that you provide a central navigation (as a persistent tab) and set all other maps to Lazy=yes, so that users can reload content “on demand”.

Here are some ideas to speed up your home screen

  1. Do not use large images or photos on the map.
  2. Reduce the content to screen resolution and then bring the content in through cut, copy, paste or right-click with the paste image function. This way the image is not referenced but put directly into the Process Maps object (xml file).
  3. For (unnecessary) high resolution bitmaps, first reduce the size in an external tool, and then bring it on the map canvas. Do not do it the other way around, as you have too much data in the map which slows downloading.
  4. Think about, if you need interactivity on the map at all. If your map is a design element for the vault, then you could switch to a setting where you have an SVG shown instead of a map. (Focus=Yes, SVG=Yes, SVGInteractive=No, Lazy=No).
  5. If you want interactivity you may reduce the number of objects and links. Create a small map and allow to jump to menu-screens that then carry many more options. This way the initial loading time is reduced and loading is invoked with a click. This feels a lot faster. (Focus=Yes, SVG=No, SVGInteractive=No, Lazy=No).
  6. If you don’t necessarily need to show the Home Map all the time, you could switch to lazy loading. So when the metacard, pinboard or preview is switched to the front and you re-enter the home screen, the map is not loaded and not put to focus. This results in faster navigation and you could for example type in search queries right away. (Focus=No, SVG=No, SVGInteractive=No, Lazy=Yes)
  7. If you want nice combination of showing a home map as SVG with an optional interactivity then the following combination provides speed and command access when needed, then use the Make Interactive button in the static SCG map preview. (Focus=Yes, SVG=Yes, SVGInteractive=Yes, Lazy=No).


Creating SVG Files that look nice

Since SVG files are shown with these options let us look at some concepts concerning the content, the size and aspect ratio of the SVG files. SVG files are automatically created at the time of saving the map. So all content that is visible in the map at that time is rendered into the SVG file. This includes all icons, symbols and M-Files objects with their labels including name or title. If you use external objects or Smart Nodes showing possible restricted content, be sure that the audience of your map tab has the rights to view all shown map content.