Skip to main content
Skip table of contents

Improve Performance in Versioned Spaces

In this article you can find tips on how to prevent performance issues, and how to resolve performance issues with cache tuning methods. You'll also find helpful Atlassian articles to overcome general performance issues in a Confluence space.

Prevent Performance Issues

Too many child pages 

Consider having as few child pages as possible under the same parent page. The more child pages you have under the same parent page, the longer it will take for Confluence and other apps to render the page tree.

If you are already experiencing performance issues, and have a lot of child pages under the same parent page, consider splitting the child pages into smaller subtrees still within the main parent page. Alternatively, move some child pages to the same level as the parent page.  This can be done in the Reorder page tree

Please keep in mind when moving a versioned page within the Reorder page tree, move the master page and not the change page . When you move the master page, its change pages will automatically follow. If you move a change page from its master page, the page tree will break.

Roles, permissions, and restrictions

Try to keep roles, permissions, and restrictions to only the amount necessary. In similarity to the child pages, the more roles, permissions, and restrictions you have configured for your space, it will affect the time for Confluence and other apps to render your content.

If you are already experiencing performance issues, consider removing redundant page restrictions or Scroll Roles in your space.

 Expanded pages

In a versioned space Confluence's normal page tree will be replaced with a Scroll page tree. Confluence native page tree will show the change pages in the tree, whereas the Scroll page tree will only display the master pages. The Scroll page tree, remembers all parent pages, and child pages which have been left expanded before leaving the page.  Disabling this function can help your page tree load faster. To disable this function follow the steps below:

  1. Go to Space tools

  2. Click on Scroll Add-ons

  3. Press the ALT/option key to make a menu entry for  Advanced Scroll Apps Settings appear and click it

  4. In the dropdown to the right, choose Scroll Platform

  5. Click Edit  for the Key "pagetree.remember.expanded.pages"

  6. Set to value to False

  7. Click Save

Macro loading

The following macros, which are replaced with Scroll Versions-specific variants to support versioned pages, may experience slower rendering when displaying a large number of pages:

  • Content by Label

  • Page Property Report

  • Children Display

Tips maintain macro loading performance:

  1. Filter results: Ensure macros are configured to filter for only the necessary pages.

  2. Narrow the scope: If filtering is insufficient, try creating multiple macros, each focusing on a smaller subset of pages.

  3. Tune caches: Optimizing your Confluence caches may also improve performance. For more information jump to the next section ⬇️

  4. (Last resort) Disable macro replacement: If other options fail, you can disable the replacement of the affected macro in the Advanced Scroll Apps Settings for the space. This will revert to the original Confluence macro, which may be faster but will not be aware of versioned pages, showing duplicate entries for versioned pages.

If you want to disable macro overrides follow the steps below:

Click here to expand...

Again, disabling macro replacement will revert to the standard Confluence macro. These are not version-aware, so a page with multiple versions may appear multiple times in the macro output.

  1. Navigate to Space tools > Scroll Add-ons.

  2. Press the ALT/Option key to make a menu entry for Advanced Scroll App Settings appear.

  3. Change the dropdown to “Scroll Platform”.

  4. Find the key skip.macro.overrides and click Edit:

    • If you want to override the Children Display macro add “children”.

    • If you want to override the Content by Label macro add “contentbylabel”.

    • If you want to override the Page Properties Report macro add ”detailssummary”

  5. Click Save when you are done

Resolve Performance Issues with Cache Tuning Methods

Sometimes a performance issue can be related to the caches. There are a number of ways you can tune Confluence's caches to help solve this issue. 
The following tweaks should directly improve page tree performance and the macro loading:

  • Content objects cache (com.atlassian.confluence.core.ContentEntityObject) should be set to at least 20-30% of the number of content entity objects in your system. To find the number of content entity objects, use the query select count(*) from CONTENT where prevver is null.

  • Content Body Mappings cache (com.atlassian.confluence.core.ContentEntityObject.bodyContents) should be set to at least 20% of the number of content entity objects in your system.

  • Space permissions by ID cache (com.atlassian.confluence.security.SpacePermission) should be set to the number of space permissions in your deployment (a good rule of thumb is 20 times the number of spaces). You can find the number of space permissions using the query select count(*) from SPACEPERMISSIONS.

Caches related to content permissions and content properties should also be observed and adapted if they are full but inefficient. Content permissions caches contain page-level restrictions and will therefore also contain restrictions related to roles , whereas content property caches contain page-level metadata managed by  Scroll Versions such as (translated) Scroll Page Titles and Scroll Page IDs

Content permissions and content properties are cache categories divided into several individual caches. You can find each of them listed below:

  • Content permission caches:

    • Content Permission Sets

    • Content Permissions

    • Inherited Content Permission Sets

    • Permissions in Content Permission Sets

  • Content property cache: 

    • Content Properties

    • Content property mappings

Atlassian Articles

We also recommend giving these Atlassian articles a read for additional information, and tips on how to deal with space performance issues.

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.