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

[Guide] Object caching with Bedrock (and Trellis) using Redis #263

Open
3 tasks done
strarsis opened this issue Jan 23, 2021 · 2 comments
Open
3 tasks done

[Guide] Object caching with Bedrock (and Trellis) using Redis #263

strarsis opened this issue Jan 23, 2021 · 2 comments

Comments

@strarsis
Copy link
Contributor

Summary

Because of some demand in the roots.io discourse (like https://discourse.roots.io/t/use-redis-cache-with-bedrock-and-trellis/15001/1) I wrote a little guide for setting up object caching (Redis) with Bedrock + Trellis:
https://gist.github.com/strarsis/95abe28f4761f489a8a1cc212d5c69e5
This is my first "real" technical guide, so there is probably some room for improvement.

Motivation

nginx microcaching already solves static page caching, but it isn't used for dynamic parts of the site.
Object caching can dramatically increase the performance here, as with WooCommerce and the admin backend.

@swalkinshaw
Copy link
Member

Looks useful enough to me 👍 Do you want to do a PR for it?

Personally I'd prefer doing this with memcached since Trellis already installs that by default, but I don't know if the WP plugins are of equivalent functionality/maturity.

@strarsis
Copy link
Contributor Author

@swalkinshaw: I got some feedback (someone had trouble with a step in the guide), so I need to improve the guide a bit further.
Yes, I can provide a PR for this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants