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

WordPress Trac noreply at wordpress.org
Wed Oct 22 03:51:16 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):

 I updated the benchmarking script to capture data at 1K step increments to
 `styles_inline_size_limit` rather than the 10K step I had used initially
 (for the sake of expediency). I also added more blocks to the test post so
 that the total amount of inlinable CSS is over 109KB.

 See [https://core.trac.wordpress.org/attachment/ticket/63018/Median%20LCP-
 TTFB%20for%20Uncached%20vs%20Cached%20page%20loads%20with%20increasing%20styles_inline_size_limit%20step%20by%201KB.png
 chart above].

 Raw data is available in [https://github.com/GoogleChromeLabs/wpp-
 research/pull/201#issuecomment-3430379174 PR comment]. This includes the
 total amount of inline CSS for the page at each step, as well as the count
 of external stylesheets.

 This data seems to re-affirm that 50KB is a good new default for
 `styles_inline_size_limit`.

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


More information about the wp-trac mailing list