Fullscreen
[Show/Hide Right Column]

Performance




By default, Tiki is configured with default performance settings which should suit most contexts. For example, Tiki uses the Smarty template engine and it has built-in cache. If you find Tiki slow, this page is here to help.

Basic tips


  • Don't be cheap on hardware or hosting. Get the good stuff.
  • Turn off any feature you are not using
  • Use the Performance Admin Panel at tiki-admin.php?page=performance where you can configure the various performance-related settings, including Content Delivery Network. Otherwise, most performance tuning is done by tweaking the server (outside the scope of Tiki)
  • Think also about configuring your web server (for example, setting a long expiry date for images, css and js files)
  • Tiki5 has many enhancements related to YSlow tests
    • Rename _htaccess to .htaccess to get some of the enhancements provided
  • http://blog.lphuberdeau.com/wordpress/2010/03/24/improving-rendering-speed/
  • Use a free tool like gtmetrix.com to measure the impact of your optimisations on the loading speed of your site.

Minify JavaScript


Apache (httpd.conf)


PHP Settings (php.ini)


Accelerating PHP

Alternative PHP Cache (APC)


XCache


eAccelerator


Memcached


Database performance


This is a troubleshooting guide for database performance.

MySQL


MySQL has a slow queries feature which is accessible via a log or at the command line. Please read the MySQL manual page to enable this feature.

Using the information in MySQL's chapter on optimization, look for places where indexes may improve the database access speed. Add an index, then re-test. If you think you've found an improved indexing scheme, please open a tracker item on dev.tikiwiki.org.

In tiki-admin.php?page=general, you can activate Log SQL and set Log queries using more than (seconds):

MySQL replication





Alias


Contributors to this page: alain_desilets280 points  , Marc Laporte8178 points  , McIntel816 points  , xavi64690 points  , lindon5653 points  , Louis-Philippe Huberdeau1043 points  , Scot Wilcoxon684 points  and mlpvolt4266 points  .
Page last modified on Thursday 08 December, 2011 19:45:16 UTC by alain_desilets280 points .
The content on this page is licensed under the terms of the Creative Commons Attribution-ShareAlike License.

Site Language

Reference Guide

Keywords

These keywords serve as "hubs" for navigation within the Tiki documentation. They correspond to development keywords (bug reports and feature requests):



Tiki Newsletter

Delivered fresh to your email inbox!
Newsletter subscribe icon
Don't miss major announcements and other news!
Contribute to Tiki