W3 Total Cache
[resolved] HyperDB and W3 Total Cache (6 posts)

  1. ds123
    Posted 4 years ago #

    Frederick can you tell me how i should configure w3 total cache to work well with Hyper DB that i'm going to install to use master slave mysql servers? thanks !

  2. Frederick Townes
    Plugin Author

    Posted 4 years ago #

    Unfortunately they are not compatible.

  3. ds123
    Posted 4 years ago #

    thanks for the reply .... can you please offer suggestion then for using master - slave mysql? can i just disable database caching in w3 ? or is there another solution to manage wordpress load balancing other than hyperdb?

    i'm not a programmer so i can't do any heavy lifting code wise ..thanks again for your help i hope to find a way to keep using your plugin and master slave mysql

    any recommendations would be very helpful...i have 2 servers a master serving everything and then a mysql slave server just serving database reads ... i am running latest wordpress, buddypress and w3 total cache

  4. ds123
    Posted 4 years ago #

    frederick i am reading about Ryan’s Memcached Object Cache .... my question is i am loving the cdn on your plugin ...will i lose this maxcdn if i try to run batcache? or how can i use maxcdn/memcached object cache/then page caching?

  5. tmuka
    Posted 4 years ago #

    Thanks for the info, Frederick. I just ran into this configuration challenge today. I see from searching around that both plugins require use of different custom /wp-content/db.php files which can't co-exist by default.

  6. ds123
    Posted 4 years ago #

    Frederick .... what about this solution below to using w3tc with hyperdb or multi-db? can i do this and still get to use your plugin for page caching and cdn.... what about the database caching should i leave that off?

    ......found this post
    I should mention that there is an alternative to being able to use this plugin.
    change lines 126, 128 and 146. Rename db.php to db-cache.php
    change line 2562. Rename db.php to db-cache.php
    Rename db.php to db-cache.php
    When this is done, upload the files to your server, activate the plugin, and the db-cache.php file will be created and the plugin will be looking at this file instead of db.php.
    The only downside is that you will need to do a manual upgrade when updates are loaded or it will over ride your changes and then over ride your current db.php file for multi-db.

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