[wp-trac] [WordPress Trac] #63018: Increase styles_inline_size_limit from 20, 000 bytes

WordPress Trac noreply at wordpress.org
Sun Nov 2 04:32:49 UTC 2025


#63018: Increase styles_inline_size_limit from 20,000 bytes
---------------------------+-------------------------------
 Reporter:  westonruter    |       Owner:  westonruter
     Type:  enhancement    |      Status:  closed
 Priority:  normal         |   Milestone:  6.9
Component:  Script Loader  |     Version:  5.8
 Severity:  normal         |  Resolution:  fixed
 Keywords:                 |     Focuses:  css, performance
---------------------------+-------------------------------

Comment (by westonruter):

 Follow up: #64178 (additional inline CSS is pushing the oEmbed discovery
 links past the 150K peek limit)

 Based on re-evaluating the data from my benchmarks above, I
 [https://core.trac.wordpress.org/ticket/64178#comment:6 suggest] we reduce
 the `styles_inline_size_limit` to 35K or 40K, instead of bumping the 20K
 limit all the way to 50K.

 Note the graphs above showing the LCP-TTFB for Fast 4G
 ([https://github.com/GoogleChromeLabs/wpp-
 research/pull/201#issuecomment-3447997500 raw data]) and broadband
 ([https://github.com/GoogleChromeLabs/wpp-
 research/pull/201#issuecomment-3448044083 raw data]) from #63018. In the
 two graphs, the uncached curve starts to flatten out at 40K. The
 difference between 40K and 50K is not as great as the difference between
 30K and 40K.

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


More information about the wp-trac mailing list