Loading the Space Admin for a Large Space is Very Slow
症状
- The Space Admin page for a large space with thousands of pages is slow to load.
- Spaces with fewer pages are not having this issue.
原因
The editspace.action
calls getPages()
in order to populate the drop down to set the home page of the space. In large spaces, the getPage()
call can have a significant performance impact, causing load times for that page to take several seconds.
回避策
There is a patch attached to this article that will remove the getPages()
call from the editspace.action
. Please be aware that this patch will break the dropdown menu for selecting a home page in the space. It will still be possible to set the home page using the storeSpace() function in the Remote API.
To install the patch:
- Download EditSpaceEntryAction.java.
- Create the following directory and place the patch there:
<confluence-install>/confluence/WEB-INF/classes/com/atlassian/confluence/spaces/actions/EditSpaceEntryAction.class
- Confluence を再起動します。
最終更新日: 2016 年 2 月 26 日
Powered by Confluence and Scroll Viewport.