A Chassis extension to install and configure memcached on your server.
PHP Puppet
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.github
modules/memcache/manifests
.gitignore
.travis.yml
README.md
chassis.yaml
object-cache.php

README.md

Memcache

A Chassis extension to install and configure memcached on your server.

Usage

  1. Add this extension to your extensions directory
  2. Run vagrant provision
  3. Set up your content/object-cache.php to point to the memcache object-cache.php. This is not done automatically, as Chassis never touches your content directory, but it's super simple to set up:
<?php
if ( ! empty( $GLOBALS['memcached_servers'] ) && class_exists( 'Memcache' ) )
	require_once dirname( ABSPATH ) . '/extensions/memcache/object-cache.php';

(Note that this also ensures the extension was loaded successfully.)