The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

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

  1. humansky
    Posted 4 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:


    and the config file is:


    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,


  2. Frederick Townes
    Plugin Author

    Posted 4 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

  • W3 Total Cache
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic