Windows and Drupal optimisation

Windows and Drupal optimisation
Soumis il y a 8 années 8 mois par jmcouillard.
C'est tellement lent sur Windows par défaut... je n'y comprends rien. Voici quelques trucs pour améliorer les performances AMP sur Windows.
- Use
127.0.0.1everywhere instead oflocalhost - Disable IPv6 : http://www.techunboxed.com/2012/08/how-to-disable-ipv6-in-windows-8.html
- In the end the Host file changes made some difference but the main issue turned out to be the Drupal CRON. As it turns out, because I was copying down my production installation to work on locally, the CRON wasn't able to do what it was supposed to when it ran locally. Therefore it never completed execution successfully. Because the attempt failed, each new request would try to run the CRON again, hence the 20 second page execution times. You can disable cron (e.g., at Administration > Configuration > System > Cron (admin/config/system/cron), by setting the "Run cron every" value to "Never". (view on stackoverflow)
- Editing your php.ini :
memory_limit = 256Mandrealpath_cache_size = 16M - Editing your my.cfg :
max_allowed_packet = 64Mandinnodb_flush_log_at_trx_commit = 1andinnodb_buffer_pool_size=512Mandinnodb_additional_mem_pool_size = 200M
Some additional informations can be found here : https://www.drupal.org/node/961012
