• I’m currently running a load balanced enterprise WordPress environment and would love to implement the W3TC plugin, however I’m running into an issue. With the current version of the plugin, I noticed that the plugin stores its content in the wp-content/ folder in the following format:

    wp-content/w3tc-blog1.example.com
    wp-content/w3tc-blog2.example.com
    wp-content/w3tc-blog3.example.com

    and the config file is:

    wp-content/w3-total-cache-config-blog1.example.com[-preview].php
    wp-content/w3-total-cache-config-blog2.example.com[-preview].php
    wp-content/w3-total-cache-config-blog3.example.com[-preview].php

    Since my architecture is load balanced, I would like all the w3tc related files to be store on my shared filesystem (NAS mount). To be sustainable for future growth, I want to store all the w3tc content in a sub-folder on wp-content, so for example all the config and cache content in wp-content/w3tc/w3-total-cache-*. That way i can create a symbolic link from the wp-content folder to my shared NAS mount. Is this possible?

    I tried to look in the plugins folder inc/define.php and adjust some definitions within that file, but it seemed to spit out a fatal error. Any thoughts?

    Thank you,
    Henry

    https://www.ads-software.com/extend/plugins/w3-total-cache/

Viewing 1 replies (of 1 total)
  • Plugin Contributor Frederick Townes

    (@fredericktownes)

    In a multi-server environment, you’ll likely want to go with memcached so that you don’t have to share cache files via an NFS.

Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: W3 Total Cache] Choosing folder path for w3tc content’ is closed to new replies.