WordPress.org

Ready to get started?Download WordPress

Forums

W3 Total Cache
Choosing folder path for w3tc content (2 posts)

  1. humansky
    Member
    Posted 3 years ago #

    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

    http://wordpress.org/extend/plugins/w3-total-cache/

  2. Frederick Townes
    Member
    Plugin Author

    Posted 3 years ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic