diff --git a/README.txt b/README.txt index fb9b1e1..887f88d 100644 --- a/README.txt +++ b/README.txt @@ -1,4 +1,3 @@ - The Path Cache module stores paths in a cache so that Drupal does not have to look them up from the database. @@ -51,14 +50,9 @@ you assigned. At the command line: ps aux | grep memc -STEP FIVE: Apply the patch to includes/path.inc. At the command line: - -cd /path/to/your/drupal/root -patch -p0 < sites/all/modules/pathcache/path.inc.patch - -This adds caching to drupal_lookup_path() in path.inc. +STEP FIVE: Switch path_inc to use the one provided by this module: -The patch is against Drupal 6. +$conf['path_inc'] = './sites/all/modules/contrib/pathcache/path.inc'; STEP SIX: Enable pathcache.module. All the module does is make sure that the path caches get cleared when someone clicks the Clear cached data button @@ -70,4 +64,4 @@ The sites with the most to gain from path caching in memcache are sites that have many path aliases, and a very busy database. Every cache hit in memcache is one query that the database does not have to handle. Obviously every site is different and you'll need to test to make sure that this module actually -improves things instead of making them worse. \ No newline at end of file +improves things instead of making them worse.