Abilitare un gestore di cache php
Debian 7
sudo apt-get install php-apc
sudo /etc/init.d/apache2 restart
- Impostare nelle opzioni di configurazione
CACHING
$conf[cache][use_memorycache] APC
Installare l'autoloader
- Questo necessita di un gestore di cache, come APC.
- Autoloader mappa i percorsi ai files: quindi ad ogni upgrade va ricostruita la cache: In this case you either need to use the provided script to empty the cache:
horde-autoloader-cache-prune
- Or empty the cache manually, e.g. by restarting the web server or deleting the cache file from the temporary directory.
sudo /var/www/horde/pear/pear -c /var/www/horde/pear.conf install -a -B horde/horde_autoloader_cache
Enable PHP output compression
- In the Horde configuration. If this option is set to true, and you have the php zlib extension installed, pages over a certain size will be compressed and sent to the browser as gzip-encoded data in order to save bandwidth. There is little reason not to enable this.
GENERAL
$conf[compress_pages]
Abilitare il caching javascript, css e temi
- Sempre nella config fi HORDE
Installare la libreria horde_lz4
sudo /var/www/horde/pear/pear -c /var/www/horde/pear.conf install -a -B horde/horde_lz4
Riferimenti