怎样优化ZenCart的性能

Posted by zuzhihui in 互联网技术 on 2014/02/18 with No Comments

怎样优化Zen Cart,使得网站能支持更大的访问量呢?下面是几点建议:

1. 关闭Category Counts尤其是产品分类多的时候:
a. Admin->Config->My Store->Show Category Counts=false
b. Admin->Config->My Store->Show Category Counts-Admin = false
(this second one is for admin-area only when editing catalog)

2. 如果不需要的话,禁用Manufacturers sidebox
Admin->Tools->Layout Boxes Controller ,找到 sideboxes/manufacturers.php , 设置为 ”OFF”

3. Ensure your images are optimized for your site… specifically, use small images for thumbnails, slightly larger for product pages (“_MED” images), and large detailed images for “click to enlarge” (“_LRG”) images.

Related FAQ articles: Adding Multiple Images To Products
Preparing and Optimizing Images

4. 让首页的产品数量尽量少。

5. 安装一个Zen Cart优化插件。比如 这个

6. 优化一下数据库,在phpmyadmin里面,可以对数据库表格进行优化。或者在命令行运行

mysqlcheck -u<username> -p<password> --auto-repair --check --optimize <database name>

7. 升级到最新的Zen Cart版本。

标签:

Leave a Comment

Back to Top

2007-2017 © 北京瑞豪开源科技有限公司 京ICP备13004995号-2