Welcome page appears slowly for non-admin accounts

For non-admin users, the Welcome page displays slowly after you log in.

This issue is noticeable when the number and size of the file starting with history*.log is higher.


Solution 1: Disable history of recent changes.

The "Recent" features at welcome page can be toggled on and off by changing the "historyShow" property at the locations below. Setting the property historyShow to false disables history features and resolves the issue. The package attached (hide_history-1.zip) overrides and disables the history.


* hide_history-1.zip
Disable History

Solution 2: Limits the size of the logs.

Currently, there is no upper limit to the amount of history to track. You can reduce the amount of history log by implementing a logger writer that limits the size and the number of log files kept for history.log. More details at https://sling.apache.org/documentation/development/logging.html. A sample package(rotate-history-1.zip) to retain three latest log files with each 1 KB is attached.

* rotate-history-1.zip
Rotate History Log File Sample

Additional information

The "Recent" feature uses the HistoryService [3] to retrieve its details. The current implementation reads from the file starting with history in logs folder. Then, it filters the contents of this log depending on the user who is viewing the Welcome page. For more information, see http://dev.day.com/docs/en/cq/current/javadoc/com/adobe/cq/history/api/HistoryService.html.


Applies to