![](https://img-blog.csdnimg.cn/20201014180756919.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
opencart
cnxzcxy
这个作者很懒,什么都没留下…
展开
-
opencart页面打开效率优化
opencart的分类如果设置的太多,再加上产品数量众多,那你的页面基本上要5秒朝上才能打开了。 优化方法:去除分类后面,产品个数的显示。 修改catalog/controller/module/category.php 'name' => $category['name'] . ' (' . $product_total . ')', 改为 'name原创 2013-05-29 17:03:51 · 3510 阅读 · 0 评论 -
opencart增加memcache缓存
从 https://github.com/shaman/opencart-memcached 下载cache.php 使用这个 cache.php替换系统中的 ./system/library/cache.php 在配置文件中加入以下代码 ./config.php ./admin/config.php // CACHE define('CACHE_原创 2013-05-29 17:21:30 · 3186 阅读 · 0 评论