從 https://github.com/shaman/opencart-memcached 下載下傳cache.php
使用這個 cache.php替換系統中的 ./system/library/cache.php
在配置檔案中加入以下代碼
./config.php
./admin/config.php
// CACHE
define('CACHE_DRIVER', 'memcached');
define('MEMCACHE_HOSTNAME', 'localhost');
define('MEMCACHE_PORT', '11211');
define('MEMCACHE_NAMESPACE', 'opencart_test');