Improve page loading speed for pages with many children

Description

When viewing any page in a space managed by Scroll Versions or Scroll Translations, the initial request to the /pages/viewpage.action (or /display/<space_key>/<page_title>) endpoint involves the construction of a context object with data related to Scroll Versions / Translations.

This context object also contains the amount of child pages the current page has, not including version change pages. The calculation of this number involves permission checks and retrieval of content properties for each child page, which slow down the page load considerably if a page has many direct children (for example > 100).

Environment

None

Activity

Show:
Unresolved

Details

Assignee

Reporter

Components

Fix versions

Backbone Issue Sync

Created June 6, 2024 at 1:50 PM
Updated June 6, 2024 at 2:00 PM