FAQ Increase Performance: Difference between revisions

Jump to navigation Jump to search
No edit summary
Line 70: Line 70:


Principle: Add into '''Home-Setup-Other''' the constant MAIN_OPTIMIZE_SPEED. If value of constant has bit 1 set, Dolibarr will use shared memory to cache translation of language files. This means that only one language can be used (the one defined by first user that log after the Apache server reboot). Use instead of this option, the [[Module MemCached EN]] that has no limits and is more efficient.
Principle: Add into '''Home-Setup-Other''' the constant MAIN_OPTIMIZE_SPEED. If value of constant has bit 1 set, Dolibarr will use shared memory to cache translation of language files. This means that only one language can be used (the one defined by first user that log after the Apache server reboot). Use instead of this option, the [[Module MemCached EN]] that has no limits and is more efficient.
== Disable Canvas feature ==
Efficiency: **
Principle: Add into '''Home-Setup-Other''' the constant MAIN_DISABLE_CANVAS to value 1. This will disable canvas features that might be used by external modules and save one database request each time you go on page to show an object.
However, if an external module used canvas, this will break this module.


== Use precompressed version of Javascript libraries ==
== Use precompressed version of Javascript libraries ==

Navigation menu