php - Drupal high number of queries -
i have drupal site , slow. it's on localhost , takes 4-5 sec load 1 page. enabled general_log in mysql , saw 1 page drupal executes more 2000 queries...
is there way speed ?
drupal can beast if not optimized production: general guideline:
- disabled devel module
- disabled views ui
- enabled views caching (views content cache)
- enable page caching
- enable block caching
- disable database logging (use syslog instead)
- disable statistics module
note: if site makes use of authenticated traffic (logged in users drupal), different paradigm in of caching efforts above ignored logged in users.
Comments
Post a Comment