Memcached is a free & open source, high-performance, distributed memory object caching system.
This add-on integrates Memcached into your DDEV project.
ddev add-on get ddev/ddev-memcached
ddev restartAfter installation, make sure to commit the .ddev directory to version control.
- The Memcached instance will listen on TCP port 11211 (the Memcached default).
- Configure your application to access Memcached on the host:port
memcached:11211. - To reach the Memcached admin interface, run
ddev sshto connect to the web container, then usencortelnetto connect to the Memcached container on port 11211, i.e.nc memcached 11211. You can then run commands such asstatsto see usage information. See cheatsheet for more commands.
To change the docker image:
ddev dotenv set .ddev/.env.memcached --memcached-docker-image=memcached:1.6
ddev add-on get ddev/ddev-memcached
ddev restartMake sure to commit the .ddev/.env.memcached file to version control.
Maintained by the DDEV team