[wp-trac] [WordPress Trac] #62126: Cache duplicate calls to WP_Theme_JSON::sanitize

WordPress Trac noreply at wordpress.org
Fri Sep 26 00:59:12 UTC 2025


#62126: Cache duplicate calls to WP_Theme_JSON::sanitize
-------------------------------------------------+-------------------------
 Reporter:  josephscott                          |       Owner:  pbearne
     Type:  enhancement                          |      Status:  assigned
 Priority:  normal                               |   Milestone:  6.9
Component:  General                              |     Version:  5.8
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch needs-refresh has-unit-    |     Focuses:
  tests reporter-feedback                        |  performance
-------------------------------------------------+-------------------------

Comment (by westonruter):

 I don't think it's worth doing if the HIT rate is so low, due to the
 overhead of creating the cache key. That is, unless updated benchmarks
 show a clear value in doing this still.

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


More information about the wp-trac mailing list