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

WordPress Trac noreply at wordpress.org
Fri Sep 26 00:14:14 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 adamsilverstein):

 > So you can see the HIT rate is much reduced.


 Ah, interesting!


 Given the reduced cache hit rate, are you thinking this isn't worth doing?


 Do you think there could be an approach with a better hit rate?

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


More information about the wp-trac mailing list