[wp-trac] [WordPress Trac] #31245: Replace alloptions with a key cache
WordPress Trac
noreply at wordpress.org
Tue Nov 21 19:01:03 UTC 2017
#31245: Replace alloptions with a key cache
-------------------------------------+-----------------------------
Reporter: rmccue | Owner: rmccue
Type: enhancement | Status: assigned
Priority: normal | Milestone: Future Release
Component: Options, Meta APIs | Version:
Severity: normal | Resolution:
Keywords: has-patch needs-testing | Focuses: performance
-------------------------------------+-----------------------------
Comment (by jeremyclarke):
Replying to [comment:57 spacedmonkey]:
> For the record this is the work around used on WordPress VIP.
>...
> This is the same as patch
[https://core.trac.wordpress.org/attachment/ticket/31245/31245.3.diff
31245.3.diff]. Which means this patch has been tested as scale...
Yup, we've been using essentially this code (delete alloptions when
updating options and let it reaload) for the past two years since I posted
above and never had problems with it.
I don't have time to read all the complex ideas that were posted in
between, but this simple one sure works fine.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/31245#comment:58>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list