[wp-trac] [WordPress Trac] #34292: Support for DNS Prefetching & Prerender
WordPress Trac
noreply at wordpress.org
Sat May 7 09:30:27 UTC 2016
#34292: Support for DNS Prefetching & Prerender
--------------------------------------+--------------------------
Reporter: bhubbard | Owner:
Type: feature request | Status: new
Priority: normal | Milestone: 4.6
Component: Script Loader | Version:
Severity: normal | Resolution:
Keywords: has-patch has-unit-tests | Focuses: performance
--------------------------------------+--------------------------
Comment (by swissspidy):
Replying to [comment:9 voldemortensen]:
> This patch still applies cleanly and looks good to me (just need to
update the @since). I'd like to see this considered for 4.6.
That's awesome! Happy to work more on this.
Some notes:
* The patch is for DNS prefetching only, without prerender. If we do this,
we should probably add both
* Is a filter enough for this, or do we need `add_*`/ `remove_*` helper
functions? (I don't think we need them)
* Is `array_unique()` enough? IIRC, Jetpack has stricter rules for the
added URLs
--
Ticket URL: <https://core.trac.wordpress.org/ticket/34292#comment:10>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list