Fork me on GitHub

Watch

GitHub Core

Show your support for Zikula! Sign up at Github account and watch the Core project!




GitHub Modules

Forum Activity

Forum feed

» Visit forum | » View latest posts

Last edit 2010-01-29 19:32:31 by mumuri [ ]

Additions

MySQL query cache

Add more memory to your query cache. Edit /etc/mysql/my.cnf and modify this values
query_cache_limit       = 1M
query_cache_size        = 32M

Install php5-adodb

php5-adodb is a conversion of php function of the adodb framework in C. On debian, you can install it with a apt-get install php5-adodb



_EDITED 2009-05-30 10:50:25 by mumuri [ ]

Additions
Using a Xanthia theme and all the right settings can do wonders for the load speed of your Zikula site but the basis of a fast site is always a fast server. So if you have any influence on the configuration of your server, make sure that it is the best available.

Upgrade To The Latest Version of Zikula

It is always recommended that you keep up-to-date with the latest version of Zikula. The code is constantly being reviewed and updated to allow for the most efficient performance. Probably the most important reason to stay on top of updates is for the sake of security.

Use Caching in pnRender and Xanthia

Enable caching in the pnRender module to see performance increases in many modules. Of course, only "pnRenderized" (or "templated") modules will benefit from this setting. But as more and more modules are templated, more and more performance increases will be realized.

If you are using a Xanthia theme (highly recommended) be sure to enable caching in the Xanthia module. Then be sure to generate a configuration cache to help it along.

Statistics Module Hogs Resources

If you don't need the Statistics or Referrers modules, you can deactivate them for added performance. Both of these modules add multiple queries each time your site is accessed, which slows it down. As an alternative, you could sign-up for a Google Analytics account (whether this is a performance benefit is yet to be determined).

Block Reduction

You can increase page loading speed by reducing the number of blocks you display on your site. If you have any blocks that are not being used (deactivated) and you have no plans to use them in the future, you should remove them as well. Even though they aren't displayed, Zikula has to determine whether to show them or not, which adds more queries to the equation.

MySQL Cleanup

Make a point of visiting your MySQL database from time to time to optimize it. Much like defragging your Windows hard drive, MySQL optimization will allow your server to access your site's data faster. DB-tools normally have an option "optimize" that you can apply to all tables.

Third-Party Modules & ressources

Some third-party modules allow you to run optimization utilities to keep things running smoothly. PNphpBB2 (forum) is a great example of this. Session optimiser allow you to load you session table in ram memory.

Use APC or Xcache

From Wikipedia:
A PHP accelerator is an extension designed to boost the performance of software applications written using the PHP programming language. Most PHP accelerators work by caching the compiled bytecode of PHP scripts to avoid the overhead of parsing and compiling source code on each request (some or all of which may never even be executed). For best performance, caching is to shared memory with direct execution from the shared memory and the minimum of memory copying at runtime. A PHP accelerator typically reduces server load and increases the speed of PHP code anywhere from 2-10 times, depending on factors such as the inherent execution time of the PHP application and the percentage of source code actually executed on a given request. While a code optimizer may even slow down overall performance when used in isolation, it can provide an additional performance boost when coupled with a code cache as the optimization effort is performed just once.

http://pecl.php.net/package/APC

Xcache is a php accelerators for lighttpd.

User Documentation Homepage



Deletions
Using a Xanthia theme and all the right settings can do wonders for the load speed of your Zikula site but the basis of a fast site is always a fast server. So if you have any influence on the configuration of your server, make sure that it is the best available.

Upgrade To The Latest Version of Zikula

It is always recommended that you keep up-to-date with the latest version of Zikula. The code is constantly being reviewed and updated to allow for the most efficient performance. Probably the most important reason to stay on top of updates is for the sake of security.

Use Caching in pnRender and Xanthia

Enable caching in the pnRender module to see performance increases in many modules. Of course, only "pnRenderized" (or "templated") modules will benefit from this setting. But as more and more modules are templated, more and more performance increases will be realized.

If you are using a Xanthia theme (highly recommended) be sure to enable caching in the Xanthia module. Then be sure to generate a configuration cache to help it along.

Statistics Module Hogs Resources

If you don't need the Statistics or Referrers modules, you can deactivate them for added performance. Both of these modules add multiple queries each time your site is accessed, which slows it down. As an alternative, you could sign-up for a Google Analytics account (whether this is a performance benefit is yet to be determined).

Block Reduction

You can increase page loading speed by reducing the number of blocks you display on your site. If you have any blocks that are not being used (deactivated) and you have no plans to use them in the future, you should remove them as well. Even though they aren't displayed, Zikula has to determine whether to show them or not, which adds more queries to the equation.

MySQL Cleanup

Make a point of visiting your MySQL database from time to time to optimize it. Much like defragging your Windows hard drive, MySQL optimization will allow your server to access your site's data faster. DB-tools normally have an option "optimize" that you can apply to all tables.

Third-Party Modules

Some third-party modules allow you to run optimization utilities to keep things running smoothly. PNphpBB2 (forum) is a great example of this.

Use APC or Xcache

From Wikipedia:
A PHP accelerator is an extension designed to boost the performance of software applications written using the PHP programming language. Most PHP accelerators work by caching the compiled bytecode of PHP scripts to avoid the overhead of parsing and compiling source code on each request (some or all of which may never even be executed). For best performance, caching is to shared memory with direct execution from the shared memory and the minimum of memory copying at runtime. A PHP accelerator typically reduces server load and increases the speed of PHP code anywhere from 2-10 times, depending on factors such as the inherent execution time of the PHP application and the percentage of source code actually executed on a given request. While a code optimizer may even slow down overall performance when used in isolation, it can provide an additional performance boost when coupled with a code cache as the optimization effort is performed just once.

http://pecl.php.net/package/APC

Xcache is a php accelerators for lighttpd.

User Documentation Homepage




_EDITED 2008-09-21 06:05:01 by mumuri [ ]

Additions

Use APC or Xcache

Xcache is a php accelerators for lighttpd.


Deletions

Use APC




_EDITED 2008-06-27 15:35:38 by eckerl [ ]

Additions
http://pecl.php.net/package/APC


_EDITED 2008-06-27 15:35:13 by eckerl [ ]

Additions

Use APC

From Wikipedia:
A PHP accelerator is an extension designed to boost the performance of software applications written using the PHP programming language. Most PHP accelerators work by caching the compiled bytecode of PHP scripts to avoid the overhead of parsing and compiling source code on each request (some or all of which may never even be executed). For best performance, caching is to shared memory with direct execution from the shared memory and the minimum of memory copying at runtime. A PHP accelerator typically reduces server load and increases the speed of PHP code anywhere from 2-10 times, depending on factors such as the inherent execution time of the PHP application and the percentage of source code actually executed on a given request. While a code optimizer may even slow down overall performance when used in isolation, it can provide an additional performance boost when coupled with a code cache as the optimization effort is performed just once.



_EDITED 2007-03-06 22:34:13 by kaffeeringe.de [ ]

Additions
Using a Xanthia theme and all the right settings can do wonders for the load speed of your Zikula site but the basis of a fast site is always a fast server. So if you have any influence on the configuration of your server, make sure that it is the best available.

Deletions
Using a Xanthia theme and all the right settings can do wonders for the load speed of your Zikula site.


Oldest known version of this page was edited on 2007-03-06 22:31:01 by kaffeeringe.de [ ]

Using a Xanthia theme and all the right settings can do wonders for the load speed of your Zikula site.

Upgrade To The Latest Version of Zikula

It is always recommended that you keep up-to-date with the latest version of Zikula. The code is constantly being reviewed and updated to allow for the most efficient performance. Probably the most important reason to stay on top of updates is for the sake of security.

Use Caching in pnRender and Xanthia

Enable caching in the pnRender module to see performance increases in many modules. Of course, only "pnRenderized" (or "templated") modules will benefit from this setting. But as more and more modules are templated, more and more performance increases will be realized.

If you are using a Xanthia theme (highly recommended) be sure to enable caching in the Xanthia module. Then be sure to generate a configuration cache to help it along.

Statistics Module Hogs Resources

If you don't need the Statistics or Referrers modules, you can deactivate them for added performance. Both of these modules add multiple queries each time your site is accessed, which slows it down. As an alternative, you could sign-up for a Google Analytics account (whether this is a performance benefit is yet to be determined).

Block Reduction

You can increase page loading speed by reducing the number of blocks you display on your site. If you have any blocks that are not being used (deactivated) and you have no plans to use them in the future, you should remove them as well. Even though they aren't displayed, Zikula has to determine whether to show them or not, which adds more queries to the equation.

MySQL Cleanup

Make a point of visiting your MySQL database from time to time to optimize it. Much like defragging your Windows hard drive, MySQL optimization will allow your server to access your site's data faster. DB-tools normally have an option "optimize" that you can apply to all tables.

Third-Party Modules

Some third-party modules allow you to run optimization utilities to keep things running smoothly. PNphpBB2 (forum) is a great example of this.


User Documentation Homepage

CategoryUserDocs