[wp-trac] [WordPress Trac] #64538: memoize wp_normalize_path

WordPress Trac noreply at wordpress.org
Wed Jan 21 22:50:53 UTC 2026


#64538: memoize wp_normalize_path
--------------------------------------+---------------------
 Reporter:  josephscott               |       Owner:  (none)
     Type:  defect (bug)              |      Status:  new
 Priority:  normal                    |   Milestone:  7.0
Component:  General                   |     Version:
 Severity:  normal                    |  Resolution:
 Keywords:  has-patch has-unit-tests  |     Focuses:
--------------------------------------+---------------------

Comment (by dmsnell):

 @josephscott out of curiosity, did you test any variation with a limited
 cache size to purge out old entries? 240 KB isn’t much, but it’s also not
 nothing when thinking about requests that //can// be fulfilled in 16–19 MB
 total. That’s potentially around a 1% bloat I think.

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


More information about the wp-trac mailing list