[All Adaptavist Apps]
Scrollbar | ||
---|---|---|
|
...
This page lists various techniques for tuning the performance of the Builder theme... Excerpt
Builder is a highly visual theme which contains several javascripts, images and other components to render pages. This page lists various ways to improve the performance of the theme on your Confluence installation.
Issue: Pages load slow due to large logo
Affects: Anyone with a logo that's huge
...
If your logo is bogger than about 20KB, you should seriously consider trimming it down.
There are various techniques for reducing the file size of logos:
...
If you've found your logo to be huge and are having trouble shrinking it down, send it to Adaptavist and we'll see what we can do.
Issue: Large stylesheet being loaded on every single page
Affects: Themes where the style sheet hasn't been put in to an external file
...
However, that style sheet gets embedded in to each page that uses the Builder theme and as such increases the file size of the page.
To resolve this issue, follow the instructions in our tutorial on Creating CSS Files which shows how to move the style sheet in to a separate file that can then be referenced by the theme thus ensuring the style sheet is only loaded once after which it can be cached by your web browser.
Issue: Menu takes up to 20 seconds to load
Affects: All versions of Builder running on Confluence 2.1.x
...
From Confluence 2.2 onwards, our recommended alterations have become part of Confluence which will massively improve performance of the servlet for a wide range of plugins.
If you are using Confluence 2.1.x, it is possible to manually apply a patch if you have access to a friendly Java developer - for more information, please see our Conditional GET patch instructions.
If you are unable to apply this patch manually, consider upgrading to 2.2 which includes this patch as standard.
If you are unable to apply the patch of upgrade Confluence, an alternative is to upgrade Builder to version 1.5.4 or above which has a feature to turn off icons in the view and edit menus.
Issue: Menus take up to 4 seconds to load in Firefox browser
Affects: All versions of Builder accessed via Firefox browser
...
In order to resolve this issue, additional patches will be required to the Resources Servlet (some of which are described in this comment), however these have not yet been implemented or tested.
Prior to a patch being available for Confluence, you can upgrade to Builder 1.5.4 or above which has an option to turn off the menu icons on the view and edit menus thus avoiding this delay.
Issue: Automated menus, created with macros, can sometimes be slow
Affects: All versions of Builder and Confluence
...
As we added more and more macro sections and tutorials, the "Macros" menu became huge and started to make page rendering in our user guide slower and slower.
There is no specific solution, other than to limit the size of the menus generated with macros. Obviously, that depends on which macros you are using.
...
Remember: The bigger your menus get (number of items), the slower they get.
Issue: Some macros in the page footer can slow down page rendering
Affects: Clients who use resource-intensive macros in the footer
If you use macros within footers, extra processing will usually be required on the server whilst those macros go off and get additional information from the database, etc.
Use the cache macro (available here) to cache your footer.
...