1.环境配置,缓存设置
NGINX + REDIS/Memcache + Varnish + Percona + (CDN +NFS) +magento
主要是nginx的配置,varnish缓存,redis数据库缓存做好。
如果是有钱人,可以把magento安装到几个服务器上,通过redis共享缓存和session。
2.mysql配置,读写分离。尽量用独立服务器放数据库,高并发中,数据库永远都是瓶颈,还是有钱人才能这样搞
3.magento内部配置提速
3.1开启flat表,尤其是大数据量的产品数据:system–>configuration catalog frontend
Use Flat Catalog Category -->yes
Use Flat Catalog Product ->yes
开启后需要index manager,这样就不用走magento的eav模型了
3.2开启zf page cache
System->Configuration->ADVANCED->System