Watch
GitHub Core
Show your support for Zikula! Sign up at Github account and watch the Core project!
GitHub Modules
- bartl responded to »Zikula: Not Ready for Prime Time?« 04:46 AM
- krator responded to »Multiple Errors Migrating Dizkus 3,1 to Dizkus 3.2« 18. Jun
- mikebcoffee created topic »Convert modules to 'Gettext'« 18. Jun
- trichers created topic »Mobile Theme html5 and link with tel:« 18. Jun
- espaan responded to »Interesting jQuery Javascript projects...« 17. Jun
- incasas responded to »Migrating Postcalendar 6.2 to Postcalendar 8.0« 17. Jun
- krator responded to »Error converting RATINGS and WEBLINKS« 16. Jun
Login
Wiki » EnhancingPerformance
Additions
MySQL query cache
Add more memory to your query cache. Edit /etc/mysql/my.cnf and modify this valuesquery_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-adodbAdditions
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
Additions
Use APC or Xcache
Xcache is a php accelerators for lighttpd.Deletions
Use APC
Additions
http://pecl.php.net/package/APC∞
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.
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.
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
