[wp-trac] [WordPress Trac] #45471: Allow caching of parse_blocks results

WordPress Trac noreply at wordpress.org
Mon Dec 3 16:38:21 UTC 2018


#45471: Allow caching of parse_blocks results
------------------------------------+------------------------------
 Reporter:  joostdevalk             |       Owner:  (none)
     Type:  enhancement             |      Status:  new
 Priority:  normal                  |   Milestone:  Awaiting Review
Component:  Cache API               |     Version:
 Severity:  normal                  |  Resolution:
 Keywords:  has-patch dev-feedback  |     Focuses:  performance
------------------------------------+------------------------------

Comment (by desrosj):

 In the current state of the patch, a cached empty string would not be
 returned and would always trigger parsing. `if ( false !== $cached )`
 should be used if an empty string should be returned when cached.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/45471#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list