Skip to content

Commit 7f699b1

Browse files
committed
Merge pull request #3 from duncanjbrown/master
add some object cache setup instructions
2 parents a743423 + 96871b2 commit 7f699b1

File tree

1 file changed

+15
-1
lines changed

1 file changed

+15
-1
lines changed

Diff for: README.md

+15-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,21 @@ I also created a demo screencast with my awful voice (apologies) :) https://vime
2626

2727
## How do I get this to work?
2828

29-
You need to install the TimeStack Plugin (https://github.com/joehoyle/Time-Stack-Plugin) plugin on your WordPress site, and be running a persistant object cache. If you don't know what that is, TimeStack may not be the tool for you ;) Kidding, but I don;t have time to write all those instructions yet.
29+
You need to install the TimeStack Plugin (https://github.com/joehoyle/Time-Stack-Plugin) plugin on your WordPress site, and be running a persistent object cache.
30+
31+
**Setting up a persistent object cache with MAMP**
32+
33+
If you haven't already, read the [codex page on object caching](http://codex.wordpress.org/Class_Reference/WP_Object_Cache) to get an idea of what this is and what your options are.
34+
35+
If you don't want to get involved with memcached, which is fiddly to set up with MAMP, your quickest option is probably to download the [APC Object Cache plugin](http://wordpress.org/extend/plugins/apc/) and follow its instructions.
36+
37+
You'll need make sure you've selected 'APC' as your cache extension in MAMP Preferences > PHP.
38+
39+
This done, you need to add the following line to`wp-config.php`, somwhere above "That's all, stop editing!" :
40+
41+
```PHP
42+
define( 'WP_CACHE', true );
43+
```
3044

3145
## How do I track operations in my code?
3246

0 commit comments

Comments
 (0)