Viewing 1 replies (of 1 total)
  • An easy way to change the directory is to create a link from the pgcache directory to where you want the pgcache to be.

    For example, I moved the pgcache to be stored in-memory with these commands:

    cd /var/www/html/wp-content/w3tc
    sudo rm -rf pgcache
    sudo ln -s /dev/shm/pgcache pgcache
    sudo chown apache:apache pgcache

    (paths with vary on your system)

    The link looks like this:

    $ ls -l /var/www/html/wp-content/w3tc/pgcache
    lrwxrwxrwx 1 apache apache 16 Jul 29 21:13 /var/www/html/wp-content/w3tc/pgcache -> /dev/shm/pgcache
Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: W3 Total Cache] How to choose directory for disk caching’ is closed to new replies.