-
Notifications
You must be signed in to change notification settings - Fork 469
Add static cache for edd_get_option()
#9744
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
base: main
Are you sure you want to change the base?
Conversation
Switch to get orders calls and respect order currency awesomemotive#9484
Add current page to edd_global_vars, include in tax recalculation
Update block editor author selection for download capabilities
Update edd_is_checkout logic
Co-authored-by: Žan K. <[email protected]>
Limit the product_dropdown calls on the logs and main tools page to use chosen awesomemotive#9498
Add a permalink value to the products endpoint awesomemotive#9488
Adding release 3.2.2 changes
Adding EDD 3.2.4 changes
Adding EDD 3.2.10
Adding EDD 3.2.11
Adding 3.2.12 changes
|
This is trading CPU for memory, which is ok. But there should be a limit to the cache size or there's trouble ahead. |
|
Thanks @zackkatz. I'll have a look at the suggestion here and see what we can come up with. I agree that there is some precedence set that the filter will be run every time the option is getting requested...so only running the filter a single time may be a problem, but I'll see what we can do here. I agree with @mbtools here that it's a trade in the direction of memory over CPU, which is usually a good tradeoff (but should be capped for sure). |
Resolves #9743
Proposed Changes:
edd_get_option()to improve speed.