Open geekan opened 10 years ago
If you're using ubuntu, run sudo apt-get install memcached
to install it.
If you're using win x64, visit http://www.couchbase.com/communities/q-and-a/memcached-x64-version-couchbase
to download prebuilt binary.
If you're using linux, check http://www.ccvita.com/257.html
to configure memcached.
NOTE you should use port 11211.
After knowing some best practice, we should know that set/get method is the core of memcache/redis.
So just use the set/get method anywhere you want.
Currently we have enabled memcache mechanism, but it's not used now. 3 ways to cache: per-site, per-view, by-hand, I'm not sure which one is better, and how could we use it. The question is open. Any suggestion?