Ready to get started?Download WordPress


W3 Total Cache
Plugin configuration questions (5 posts)

  1. reustmd
    Posted 6 months ago #

    1. Where does w3tc store its configuration? I need to share it across a multi-server environment.

    2. I need to programatically turn off page caching on certain pages. I'd like to say, use page caching on all pages, unless the page returns an HTTP header or something. Does w3tc page caching respect any cache headers?



  2. dhunink
    Posted 6 months ago #

    I believe it's in wp-content/cache/config

  3. reustmd
    Posted 6 months ago #

    Thanks dhunink. I was hoping to resolve sharing the w3tc configuration, using s3fs to mount an AWS S3 bucket (it's how I already share media uploads across servers).

    I setup a symbolic link in-place of the existing master.php config file, that points to the file within the s3 bucket. This doesn't seem to work, as w3tc blows aways the file and re-writes the entire config file.

    Any suggestions for sharing w3tc cache settings across servers?

  4. dhunink
    Posted 6 months ago #

    Under the General Settings tab, all down to the bottom, is a section to import and export configurations. Any reason why you can't use that function for sharing duplicate configs?

    I did googled a bit on using w3t on multi-site installations, as I'm guessing that might by your config. All the search results return the same: you can't.

  5. reustmd
    Posted 6 months ago #

    It seems a bit silly that the premier wordpress performance plugin doesn't have a clear way to share config across a multi-server environment.

    Perhaps I'll change the plugin code itself to use my mounted s3 bucket location to store the config directly.


You must log in to post.

About this Plugin

About this Topic