• Resolved ivmos

    (@ivmos)


    I’m using WordPress 6.5.5 + w3-total-cache 2.7.2.

    I’m not being able to configure memcached for Object/Database. Test connection against Memcached once the correct Memcached hostname is added works fine but seems the configuration always is reverted to localhost again. This is behaviour I did not have in the past which is preventing using caching now.

    Where are these settings being persisted? Any hint to troubleshoot the issue?

    Thanks in advance.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter ivmos

    (@ivmos)

    Well, I think what might be happening.

    The plugin seems to save the settings in wp-content/w3tc-config but I have N pods and each one has its own wp-content inside. I’m only sharing uploads across uploads for performance reasons.

    So I guess I need to replace the default masters.php with my own one.

    Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @ivmos

    Thank you for reaching out and I am happy to help!
    Well, this might be the case. You are correct, the settings are saved in wp-content/w3tc-config/master.php so you need to make sure this file is also shared in order to have these specific settings not be reverted to default.

    Thanks!

    Thread Starter ivmos

    (@ivmos)

    Thanks for the quick response. I’ve also seen W3TC_CONFIG_DATABASE exists which might make sense for my scenario.

    Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @ivmos

    Thank you for your feedback.
    Yes indeed, you can store the settings in the database instead of a file.
    Please check this FAQ section for more information.
    Thanks!

Viewing 4 replies - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.