[wp-trac] [WordPress Trac] #44229: Use CDNs where possible to serve external assets like jQuery
WordPress Trac
noreply at wordpress.org
Fri May 29 06:44:34 UTC 2020
#44229: Use CDNs where possible to serve external assets like jQuery
-------------------------+------------------------------
Reporter: jacklenox | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version:
Severity: normal | Resolution:
Keywords: close | Focuses:
-------------------------+------------------------------
Changes (by markparnell):
* keywords: => close
Comment:
The performance benefits touted here are no longer relevant - browsers
nowadays use separate caches for each domain^1^, so e.g. 2 different sites
loading jQuery from Google would still mean the end user downloading it
twice. As such the performance would suffer if anything, particularly if
the origin site is using HTTP/2.
Since there is no longer any benefit to making this change - not to
mention the concerns raised above - I'd suggest this can be closed.
^1 Specific details have been difficult to track down, but as I understand
it Firefox and Safari both already do this, and Chrome is working towards
it (see e.g. https://www.chromestatus.com/feature/5730772021411840 and
https://github.com/whatwg/fetch/issues/904).^
--
Ticket URL: <https://core.trac.wordpress.org/ticket/44229#comment:12>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list