https://github.com/ddev/ddev-memcached
High-performance Memcached caching service for DDEV
https://github.com/ddev/ddev-memcached
ddev ddev-get official
Last synced: 4 months ago
JSON representation
High-performance Memcached caching service for DDEV
- Host: GitHub
- URL: https://github.com/ddev/ddev-memcached
- Owner: ddev
- License: apache-2.0
- Created: 2022-01-18T22:39:48.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2026-02-18T11:48:32.000Z (4 months ago)
- Last Synced: 2026-02-18T15:54:20.154Z (4 months ago)
- Topics: ddev, ddev-get, official
- Language: Shell
- Homepage:
- Size: 1.22 MB
- Stars: 3
- Watchers: 4
- Forks: 9
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://github.com/ddev/ddev-memcached/actions/workflows/tests.yml?query=branch%3Amain)
[](https://github.com/ddev/ddev-memcached/commits)
[](https://github.com/ddev/ddev-memcached/releases/latest)
# DDEV Memcached
## Overview
[Memcached](https://memcached.org/) is a free & open source, high-performance, distributed memory object caching system.
This add-on integrates Memcached into your [DDEV](https://ddev.com/) project.
## Installation
```bash
ddev add-on get ddev/ddev-memcached
ddev restart
```
After installation, make sure to commit the `.ddev` directory to version control.
## Usage
* 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 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](https://lzone.de/cheat-sheet/memcached) for more commands.
## Advanced Customization
To change the docker image:
```bash
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.
## Credits
**Maintained by the [DDEV team](https://ddev.com/support-ddev/)**