We are using "Page Property Report" macro to show the report using Label in confluence page. Initially we have only 20 pages and the was working fine. Now we have 300 pages and the report is throwing an error "Rendering this content exceeded the timeout of 120 seconds" while trying to show the data from all pages in the current space containing a Page Properties macro with the same label. For temporary solution we can increase the timeout limit from 120 seconds to 600 seconds but in future we are planning to fetch the report from 3000 pages in the current space containing a Page Properties macro with the same label.
Please suggest how to solve this problem without impacting the performance.
Any help would be highly appriciated.
You need to consider using the Cache Plugin for Confluence and specifically the Cache Macro. It will save processing resources and significantly improve response time. It also allows you to se a specific timeout. You should also look into How to automate cache refresh so that none of your end users will have to suffer the long delay once the cache has expired and a refresh is needed.
Even with these measures, scaling this 10 times or higher may not be a feasible approach unless the data can be many hours old to avoid the rendering having to be done too often.
Do you use templates with Confluence? Take part in a remote 1-hr workshop. You'll receive USD $100 for your time! We're looking for people to participate in a remote 1-hr workshop...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs