[wp-trac] [WordPress Trac] #34292: Support for DNS Prefetching & Prerender
WordPress Trac
noreply at wordpress.org
Tue Oct 13 20:57:24 UTC 2015
#34292: Support for DNS Prefetching & Prerender
---------------------------+------------------------------
Reporter: bhubbard | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Script Loader | Version: trunk
Severity: normal | Resolution:
Keywords: | Focuses: performance
---------------------------+------------------------------
Comment (by bhubbard):
I think having it in core would be very useful, as it can prevent
developers from loading duplicates as @moonomo mentioned.
Example , say I have a theme and plugin, and they both want to load and
prefetch twitter bootstrap or fontawesome from bootstrapcdn.com. If the
both manually print to wp_head, then it would show up twice, having a
filter would prevent this. This would also make it easier for developers
to say write a function that disables prefetch for a specific page, etc,
regardless of what was set to prefetch from another theme or plugin
developer, assuming they all switch to using this new filter.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/34292#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list