Restrict the no . of pages for page tree in the side bar
Asked by Nithin C N:

Hi,

Under one space there are more than 100 parent pages. Each parent page has pages ranging from 10 to 12,000. Each parent page will become expandable with one level of children pages. This creates a performance issue if I open one page, then all page tree renders again.

I need to limit the no. of pages per each parent page (page tree) instead of showing 12000 pages. I can only restrict no. of children level in the page tree macro.

Please help me to know if any solutions.

Thanks

Nitin


Answers:
author: Shannon S
body: Hello Nitin,

Welcome to Atlassian Community! It's nice to meet you.

Currently, we are working on a bug report of this behavior that you are experiencing. If you haven't seen it, you can watch the case below:

* [CONFSERVER-43752](https://jira.atlassian.com/browse/CONFSERVER-43752) *Slow page tree performance in the sidebar for large spaces in Confluence*

There's not a way to limit the number of pages that display, but there are a few things that you can do to improve this.

1. You can [orphan some pages](https://confluence.atlassian.com/confkb/how-to-hide-pages-from-showing-on-the-left-panel-navigation-tree-in-confluence-420184433.html). Orphaning the pages allows for the pages to still be accessible, but not via any page tree. They will not be displayed on your site's page tree.
2. Split your larger spaces into smaller spaces.
3. Nest further, so move some child pages to be children of the other child pages.

I hope this helps, but do let us know if you have any questions.

Regards,

Shannon

comments: author: Nithin C N
body: Hi Shannon,

Thanks for your quick reply.

On your suggestions -

1. We can not ophan some pages.

2. We cannot split the larger spaces due to different issues internally.

3. Also, we cannot nest the pages.

So, we don't have other options. As per client requirement, we need to show all pages under respective trees.

Please Suggest me if any solutions for the loading issues. Are there any new macros to solve it?

Is there a lazy loading concept?

Also, does the Confluence 7.0 version would solve this issue?

Thanks

Nitin


author: Shannon S
body: Hello Nitin,

I'm sorry to hear the suggested solutions won't work for your site. Other than that, there's no other way to do it that I am aware of, at least not any supported methods.

Confluence 7.0 also does not have a solution to this issue. The bug report I sent you earlier ([CONFSERVER-43752](https://jira.atlassian.com/browse/CONFSERVER-43752?_ga=2.37434400.1895457068.1570440265-777746672.1570093413&_gac=1.256108409.1570448148.CjwKCAjwxOvsBRAjEiwAuY7L8pyl7MWy5i7kS4oFVMkWUABi8ZseS4noI17mEe12zgx17KPXc5ggYBoCvD4QAvD_BwE)) is still open. Once we have a supported solution for this problem, the release version will be updated there. Make sure to watch the case so you don't miss those updates!

Regards,

Shannon


author: Nithin C N
body: Hi Shannon,

Oh ok. We don't have time to wait for the updates :) The issue is very critical for us.

Do you think moving to the Confluence Cloud would solve the issue?

Thanks

Nitin


author: Shannon S
body: Nitin,

There was a change made in the last year to improve loading times in Confluence Cloud:

* [CONFCLOUD-59611](https://jira.atlassian.com/browse/CONFCLOUD-59611) *Page Tree Does Not Load if The Space Contains a Huge Amount of Pages*

You can test this out by copying your largest spaces over to an evaluation Cloud instance and see if this helps you. Of course, there may still be a limit of how many pages can load without performance issues, but we won't know until you're able to test it.

Let us know how it goes for you!

Regards,

Shannon


Tags: atl-adm

confluence-server

macro

server

side-bar