WordPress.org

Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #23167, comment 11


Ignore:
Timestamp:
01/22/13 15:41:31 (18 months ago)
Author:
ryan
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #23167, comment 11

    initial v1  
    33}}} 
    44 
    5 The default cache returns boolean true from wp_cache_set(). This works out since true is cast to '1'. Some cache backends return void which is cast to an empty string. If the same query is run again later in the page load it uses a different cache key resulting in another query instead of using the already cached query. The keys look like this: 
     5The default cache returns boolean true from wp_cache_set(). This works out since true is cast to '1'. Some cache backends, however, return void. This is cast to an empty string. If the same query is run again later in the page load it uses a different cache key resulting in another query instead of using the already cached query. The keys look something like this: 
    66 
    77{{{