Skip to main content
Open console

Memcached

A key-value cache that keeps nothing when it restarts

1 min read

A simpler cache than Redis: keys and values only, and nothing kept when it restarts. Choose it when your application or a module you use speaks only Memcached; otherwise Valkey does the same job and more.

A stack runs one cache: Memcached, Redis or Valkey. Naming a different one replaces it.

Inside the stack it answers at the hostname memcached, on port 11211. Unlike Redis and Valkey, no variable in your environment names it.

Its memory is sized from your machine: most of a cache machine when it has one to itself, a share of your plan when it sits beside your site. It is not a setting.

From your own computer, vallic tunnel <env> memcached opens it on 127.0.0.1:11211 for a desktop client or a browser. See Tunnels.

Versions

Version Status
1.6 Supported, and the default

Pin the version, not the build: name 1.6 and the platform matches it to the current build, so a security rebuild reaches you without anybody editing a repository.

What you can change

Nothing on this one. Everything it takes decides where it connects, what it is, or whether it starts — and an application able to set those could break its own environment in ways nothing here would catch.

Need a hand?

Open a ticket from Support in the console. We answer on the ticket.

Open the console How support works