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.

Solutions

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.

/libs/wcm/core/content/siteadmin
/libs/wcm/core/content/damadmin

* 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.

Bemærk:

Applies to

5.6.1

Dette arbejde har licens under en Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported License  Opslag på Twitter™ og Facebook er ikke omfattet af vilkårene for Creative Commons.

Juridiske meddelelser   |   Politik for beskyttelse af personlige oplysninger online