eZ Platform Discussions

How to use memcached cache

Hello, I’m trying to use Memcached cache following the documentation over there: https://doc.ezplatform.com/en/latest/guide/persistence_cache/#memcached

I keep getting the error:

You have requested a non-existent service “cache.memcached”

I defined my environment variables in default_parameters.yml but I get no results.

    env(CACHE_POOL): "cache.memcached"
    env(CACHE_DSN): '%env(MEMCACHED_SERVERS_HOST)%'
    env(CACHE_NAMESPACE): ez

Ideally, I would like to use the cache.tagaware.filesystem on local and cache.memcached on test and prod environments, I just can’t figure out how to do so.
Any help appreciated, thank you.