memcache templete sync from weibo svn