Skip to:
Codex HomeGetting Started → Improving Performance

Improving Performance

Due to the highly dynamic nature of social networks, without caching BuddyPress will add extra load on your server.

Thankfully, there are lots of options for increasing the performance of your server that take very little time to set up.

Reduce Database Hits

With many different content objects on each page, BuddyPress needs to pull a wide range of content from the database. The number of hits to the database is always a consideration and has been kept to a minimum where possible.

An excellent way to reduce the number of database hits per page even further is to turn on the persistent cache in the form of object caching.

To do this you will need to add: define( 'WP_CACHE', true ); into your wp-config.php file above the “stop editing” line.

You will then need to choose the type of persistent caching you would like to use. The most notable options are file based, memcached. If you’re unsure go with the file based caching.

You will need to make sure you have object-cache.php in your wp-content directory and a writable wp-content/cache/ directory for file based caching.

Reduce Memory Usage

An excellent way to significantly reduce memory usage is to install op-code caching on your server. There are two well known:

Tweak Your Server

Tweaking your server settings can have a huge impact on performance. Even the smallest of adjustments can yield impressive results. Here are some articles that you may find helpful:

Please feel free to edit this page and add any tactics you have found that increase your hardware performance.

Skip to toolbar