allow multiple memcache hosts in template