Difference between revisions of "Maximising Performance"

From WHMCS Documentation

(Created page with 'If you grow to have a large client base then you might start to find page loads begin to slow down. This is to be expected, because the more data you have, the larger the databas…')
(No difference)

Revision as of 13:40, 1 August 2011

If you grow to have a large client base then you might start to find page loads begin to slow down. This is to be expected, because the more data you have, the larger the database becomes, and so calculating and looping through the data will naturally take longer. However there are some things you can do to help keep things fast...

1. Disable Full Client Dropdown Menus - This setting is found in Setup > General Settings > Other and works by replacing the dropdown menus on various pages listing clients with a simple text input field which prevents the system having to loop through and output the HTML for thousands of clients when a page is loaded

2. Disable Sidebar Stats - The sidebar stats in WHMCS are calculated on every page load. Normally this is no problem but when you get big, it can start to take longer. So to avoid that, simply disable the "Sidebar Statistics" admin role group permission in Setup > Administrator Roles for any roles you use and then the stats won't be loaded. And all the stats can still be obtained via the actual reports section anyway when you need them.

3. Disable Ticket Counts - When you have a lot of tickets, calculating the number of tickets per status to display each time you open a ticket can slow things down. So to avoid that you can disable the ticket counts by adding the following line to your WHMCS configuration.php file:

$disable_admin_ticket_page_counts = true;