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

Boost: use transient settings rather than wp_cache* #38272

Open
donnchawp opened this issue Jul 10, 2024 · 0 comments
Open

Boost: use transient settings rather than wp_cache* #38272

donnchawp opened this issue Jul 10, 2024 · 0 comments
Labels
[Plugin] Boost A feature to speed up the site and improve performance. [Pri] Normal [Type] Bug When a feature is broken and / or not performing as intended

Comments

@donnchawp
Copy link
Contributor

If a website does not have a Memcached or Redis backend, using wp_cache_set() and wp_cache_get() will use in-memory storage which does not persist.
We use wp_cache_set() in two places to store data for an hour, so those should really use set_transient() instead.

@donnchawp donnchawp added [Type] Bug When a feature is broken and / or not performing as intended [Pri] Normal [Plugin] Boost A feature to speed up the site and improve performance. labels Jul 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Plugin] Boost A feature to speed up the site and improve performance. [Pri] Normal [Type] Bug When a feature is broken and / or not performing as intended
1 participant