Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable Object Cache Pro for WordPress Doc Update #9206

Open
RayHollister opened this issue Sep 5, 2024 · 3 comments
Open

Enable Object Cache Pro for WordPress Doc Update #9206

RayHollister opened this issue Sep 5, 2024 · 3 comments
Assignees
Labels
Topic: Caching Caching related issues at the CDN or CMS level Topic: Code Structure Related to Upstreams and other code structure details Topic: WordPress WordPress-specific

Comments

@RayHollister
Copy link

Re: Enable Object Cache Pro for WordPress

Priority: Medium (choose one, remove the other options)

Issue Description:

Instructions are woefully out of date. None of them work.

Suggested Resolution

Go through the whole page and rewrite it. The most heinous part is "config/application.php". That file does not exist.

@rachelwhitton
Copy link
Member

Hi @RayHollister thanks for opening this issue. I just want to make sure, are you able to successfully set up Object Cache Pro following the non-composer steps here? config/application.php is only applicable to composer managed WordPress sites

@rachelwhitton rachelwhitton self-assigned this Sep 11, 2024
@rachelwhitton rachelwhitton added Topic: WordPress WordPress-specific Topic: Code Structure Related to Upstreams and other code structure details labels Sep 11, 2024
@RayHollister
Copy link
Author

No, when I followed the Non-Composer section instructions, it did not set up correctly. I was only able to get it working using a combination of some of the steps in the Non-Composer section and adaptations of the steps in the Composer-Managed section. Unfortunately I did not document what it took to get it working. I kind of had to poke around and try things until it worked correctly. Also unfortunately, I am still unable to get it working correctly on Lando. In order to develop locally I have to delete the object-cache.php drop-in file and restore it before I push my changes.

@rachelwhitton rachelwhitton added the Topic: Caching Caching related issues at the CDN or CMS level label Sep 12, 2024
@jazzsequence
Copy link
Contributor

jazzsequence commented Sep 12, 2024

@RayHollister Can you share what failed when you tried to use the Terminus command? Was there an error that was visible in the Workflow Log? Did you previously or do you currently have other object cache plugins installed (like WP Redis)?

The Composer instructions are specifically for sites using the WordPress (Composer Managed) Bedrock-based upstream. The files and functions that you refer to are unique to Bedrock-based WordPress sites. See: https://roots.io/bedrock/docs/configuration/

cc @scottbuscemi @pwtyler

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Topic: Caching Caching related issues at the CDN or CMS level Topic: Code Structure Related to Upstreams and other code structure details Topic: WordPress WordPress-specific
Projects
None yet
Development

No branches or pull requests

3 participants