Back to top

Drupal Performance related Blog Posts

Drupal Performance Tips
Super Admin
By Super Admin on 08 Jul 2016

 

Hi Everyone,

Tip 1: Enable the query cache in MySQL
How ??
* You can setup them in /etc/my.cnf (Red Hat) or /etc/mysql/my.cnf (Debian) file:
* # vi /etc/my.cnf
Append config directives as follows:
query_cache_size = 268435456
query_cache_type=1
query_cache_limit=1048576
* You can get the suggestions for my.cnf settings using this script MySQL Performance Tuning Primer Script. Place this script in /etc folder and run using sh /path-to-file/tuning-primer.sh