Jump to main content Jump to doc navigation

Requirements

First off, you'll need the following:

  • A running memcached server, and the address it is running at
  • The PHP memcached extension, installed on the server running MODX

Setting up Memcache in MODX

Go to System Settings, and change the "cache_handler" system setting to "cache.xPDOMemCache".

If you have more than one MODX site on your server with cache.xPDOMemCache cache handler, you need to create new system setting "cache_prefix" with a value like "yoursite_" to differentiate cache keys for different sites.

If your memcached server is on a separate server, you can set the path to it with the System Setting "resource_memcached_server", with a value like "memcache.tld:121212"

See Also

Support the team building MODX with a monthly donation.

The budget raised through OpenCollective is transparent, including payouts, and any contributor can apply to be paid for their work on MODX.

Backers

  • modmore
  • modmore
  • Jens Wittmann – Gestaltung & Entwicklung
  • Raffy
  • eydolan
  • Digital Penguin
  • Fabian Christen
  • Dannevang Digital
  • deJaya
  • Sepia River Studios
  • Following Sea
  • Anton Tarasov
  • Lefthandmedia
  • Nick Clark
  • Chris Fickling
  • Murray Wood
  • YJ
  • CrewMark
  • Richard

Budget

$305 per month—let's make that $500!

Learn more