[Webkit-unassigned] [Bug 197010] New: Safari doesn't preconnect to origin when using rel="preconnect dns-prefetch"

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Apr 17 07:18:07 PDT 2019


https://bugs.webkit.org/show_bug.cgi?id=197010

            Bug ID: 197010
           Summary: Safari doesn't preconnect to origin when using
                    rel="preconnect dns-prefetch"
           Product: WebKit
           Version: Safari Technology Preview
          Hardware: Macintosh
                OS: macOS 10.14
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Page Loading
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: ad at andydavies.net
                CC: beidson at apple.com

Created attachment 367623

  --> https://bugs.webkit.org/attachment.cgi?id=367623&action=review

Test page with preconnect and dns-prefetch

Safari doesn't preconnect to an origin if both the preconnect and dns-prefetch hints are included in the same rel attribute e.g.

<link rel="preconnect dns-prefetch" href="https://www.wikipedia.org/">

I've used this pattern in the past as a graceful degradation for browsers that didn't support preconnect


Tests both using WebPageTest and Safari Inspector using the two attached pages - when the preconnect is successfully made a message appears in the Inspector Console

Work around is to specify the resource hints separately

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20190417/75e962bd/attachment-0001.html>


More information about the webkit-unassigned mailing list