[wp-trac] [WordPress Trac] #64178: Increased styles_inline_size_limit pushes down oEmbed discovery tags

WordPress Trac noreply at wordpress.org
Mon Nov 3 21:55:24 UTC 2025


#64178: Increased styles_inline_size_limit pushes down oEmbed discovery tags
----------------------------------------+--------------------------
 Reporter:  swissspidy                  |       Owner:  westonruter
     Type:  defect (bug)                |      Status:  accepted
 Priority:  normal                      |   Milestone:  6.9
Component:  Embeds                      |     Version:  trunk
 Severity:  normal                      |  Resolution:
 Keywords:  has-patch needs-unit-tests  |     Focuses:  performance
----------------------------------------+--------------------------

Comment (by westonruter):

 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/64178#comment:9>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list