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 restart
After installation, make sure to commit the .ddev
directory to version control.
memcached:11211
.ddev ssh
to connect to the web container, then use nc
or telnet
to connect to the Memcached container on port 11211, i.e. nc memcached 11211
. You can then run commands such as stats
to 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 restart
Make sure to commit the .ddev/.env.memcached
file to version control.
Maintained by the DDEV team