Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #56845


Ignore:
Timestamp:
10/18/2022 02:42:27 PM (4 years ago)
Author:
desrosj
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #56845 – Description

    initial v1  
    55The new code fetches all the options for the given network_id (not just the one you are asking for) and saves the whole set of them under one key `:site_meta:<network_id>` so `:site_meta:1`. Where the value in the cache would be:
    66
    7 ```
     7{{{
    88{
    99   "site_name": '...',
     
    1111   ...
    1212}
    13 ```
     13}}}
    1414
    1515The outcome of this change is that if the cumulative size of ALL site options is bigger than 1MB (default limit of memcached per object) NONE of the options will be cached.