[wp-trac] [WordPress Trac] #63018: Increase styles_inline_size_limit from 20, 000 bytes
WordPress Trac
noreply at wordpress.org
Mon Nov 3 21:55:25 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: has-patch | Focuses: css, performance
---------------------------+-------------------------------
Changes (by westonruter):
* status: reopened => closed
* resolution: => fixed
Comment:
In [changeset:"61117" 61117]:
{{{
#!CommitTicketReference repository="" revision="61117"
Script Loader: Reduce `styles_inline_size_limit` down to 40K from 50K.
In [61013] the CSS inline limit was increased from 20K to 50K. However,
based on benchmarking the performance improvements of increasing the
limit, the relative improvement from 40K to 50K is not as great as from
30K to 40K. The performance improvements start to flatten out beginning at
40K. This 40K is still double the previous limit of 20K. Being more
conservative will allow for a more gradual impact to be observed before
considering a larger increase. Furthermore, the 50K limit of inline CSS
can cause the oEmbed discovery links to be positioned after the first 150K
bytes which prevents them from being discovered. See #64178.
Follow-up to [61013].
Props westonruter, mukesh27, szepeviktor.
See #64178.
Fixes #63018.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/63018#comment:21>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list