WordPress.org

Make WordPress Core

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


Ignore:
Timestamp:
01/10/13 21:39:24 (2 years ago)
Author:
ryan
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #23167, comment 7

    initial v1  
    1 Looks like caching only IDs will be just fine since get_pages() calls update_post_cache(). This ensures the pages are cached should we do the same get_pages() query later in the same page load. On the next page load the cache is empty when there is no persistent cache so get_pages() does a db query and cache set. Query counts are looking fine so far in testing. 
     1Looks like caching only IDs will be just fine since get_pages() calls update_post_cache(). This ensures the pages are cached should we do the same get_pages() query later in the same page load. On the next page load the cache is empty when there is no persistent cache so get_pages() does a full pages query and cache set. Query counts are looking fine so far in testing.