• Resolved ber5ien

    (@ber5ien)


    Hi Team,

    I run 2x nginx container and 2x php container

    nginx -> proxy to -> php container

    If the redis cache is enabled using the gui it creates a file only in one php container the files is called

    object-cache.php and it’s localed in the public/wp-content/object-cache.php

    The problem is that wp-content can’t be a global storage as the specific version of plugins are baked in into the container image and they can’t change until the image is rebuild. This is to make sure that release is version controller/tested and can’t change.

    Can this file be configurable so it can be created in the different location?

    What I end up is to have 2 instances or more when the redis can only be enabled in one container.

    • This topic was modified 2 weeks, 2 days ago by ber5ien.
Viewing 1 replies (of 1 total)
  • Plugin Author Till Krüss

    (@tillkruess)

    No, the location is fixed and determined by WordPress.

    You must build the container with the drop-in, you can use wp redis enable to do so.

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