Fix cache_key: spaces not allowed by memcached