Infor Technology Blog

« | Main | »

Infor Smart Office 10.2.1 Caching feature for Infor Lawson

July 26, 2015

By Vince McGowan

In a recent article, we outlined many of the enhancements and bug fixes that were part of 10.2.1 release of Infor Smart Office for Lawson.  This article will dive deeper into the new caching enhancements that were released as part of this patch.

Caching in memory of certain data retrieved from the server has always been a feature of ISO Lawson to enhance performance. It has become apparent over time that the amount of data can be very large and thus negatively impact performance by consuming large amounts of memory. To alleviate this problem two new caching features are being introduced.

Cache to Disk

The Role setting ‘Allow user form cache’ allowed a user to cache form XML and field help XML. However, like all cached objects this was cached in memory.  This setting is changed to ‘Allow user cache settings’ and provides the user with the ability to cache the largest data sets (form XML, field help XML and FileView or table definition XML) to disk.


A new Option is also provided that allows administrators to force a certain cache level for members of a Role.  And like other options, this can be disabled from user change, though by unchecking the Allow user cache settings, the user would not have ability to make a change.


The cache level settings (which only apply to the 3 large data sets) available are:

  • Never cache – no caching of the large data sets will occur. Use of this setting will certainly increase network traffic and impact server utilization.
  • Always cache – the large data sets will be cached to a folder of the users choice (or default location if user not allowed to see settings) and persist over each Smart Office session.  Use of this setting will require periodic clearing of the cache, for example on an applications upgrade, to insure the correct data is presented.

Session cache – the large data sets will be cached to a temporary folder managed by ISO and be cleared when the users logs out of Smart Office. Use of this setting insures that the correct data is always retrieved but does require server access on first use of a particular form or list.

If the user is allowed to see cache settings, a new tab will appear in the User Settings dialog.


On this tab, the user will be allowed to set the cache level if not restricted by the Role Option. A change to the cache level will take effect the next time the user logs into Smart Office. A cache folder can be selected if the user’s level is set to ‘Cache Always’. The current cache contents for each of the 3 large data sets are displayed in the tab control and the user can delete items selectively or clear the entire cache.

Central Cache Manager

The remaining types of data that are cached, such as form and list personalizations and a few others, will be managed by a central memory cache manager that has no visible component.  This is a .NET supplied object that will constantly monitor memory consumption and if that reaches a critical state, unloads the oldest objects it has in cache.



Leave a Reply

Your email address will not be published.