WordPress.org

Make WordPress Core

Changes between Version 1 and Version 2 of Ticket #31245, comment 47


Ignore:
Timestamp:
04/28/2017 11:44:37 PM (3 years ago)
Author:
johnjamesjacoby
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #31245, comment 47

    v1 v2  
    55* A few common helper functions for interacting with objects in key caches (`wp_clean_option_cache()`, etc...)
    66* Usage of a new `notoptions` cache group, for queries to `wp_options` for options that do not exist there.
     7* I'm currently caching full option objects inside of the results of a `WP_Option_Query`. This is not much different than the `alloptions` cache we have today, only we aren't actually referring back to it for anything directly anymore. We could switch this to only cache `option_name`s or `option_id`s if we want to limit the memory footprint of that cached item, but since we aren't directly peeking into it, I'm not sure that it matters very much one way or the other.
    78
    89----