http://www.question2answer.org/optimize.php
1、打开MySQL服务器的query cache
2、安装一个PHP的加速器,比如 Alternative PHP Cache (APC)
3、如果数据库服务器和web服务器都在一块的话,在qa-config.php中,将QA_OPTIMIZE_LOCAL_DB
设为true。
4、查看 qa-config.php文件末尾的设置及其注释。
http://www.question2answer.org/optimize.php
1、打开MySQL服务器的query cache
2、安装一个PHP的加速器,比如 Alternative PHP Cache (APC)
3、如果数据库服务器和web服务器都在一块的话,在qa-config.php中,将QA_OPTIMIZE_LOCAL_DB
设为true。
4、查看 qa-config.php文件末尾的设置及其注释。