[wp-trac] [WordPress Trac] #37388: Resource hinting: only dns-prefetch resources in HTML footer.
WordPress Trac
noreply at wordpress.org
Sun Jul 17 11:20:28 UTC 2016
#37388: Resource hinting: only dns-prefetch resources in HTML footer.
---------------------------+-------------------
Reporter: peterwilsoncc | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 4.6
Component: General | Version: trunk
Severity: normal | Keywords:
Focuses: |
---------------------------+-------------------
In #34292 @superpoincare raised some concerns about hinting items in the
HTML header, arguing it was of use to hint items in the footer only as the
browser will connect to resources enqueued in the HTML header quickly
regardless.
@swissspidy pointed out "Even when enqueued in the head of the document,
the resource hints will be delivered to the browser much earlier because
their higher up in the source and therefore likely in another HTTP packet.
Already being able to perform all necessary handshakes only benefits the
actual retrieval of the assets later on."
@peterwilsoncc thought there was some validitaty to skipping hinting on
items in the HTML header but it's something that can be decided later. Oh,
that's me.
Related #37387
Milestoning for discussion.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/37388>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list