Bug 199183 - Duplicate Fetch API requests in Safari
Summary: Duplicate Fetch API requests in Safari
Status: RESOLVED DUPLICATE of bug 199492
Alias: None
Product: WebKit
Classification: Unclassified
Component: Page Loading (show other bugs)
Version: Safari 12
Hardware: Mac macOS 10.14
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-06-24 20:40 PDT by Nate Rojas
Modified: 2019-07-08 13:29 PDT (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nate Rojas 2019-06-24 20:40:56 PDT
Problem:
1. Use fetch API to make a request in an HTML page - see request at server (encountered with Node.js server)
2. Reload page - see request at server (again) but with a duplicate request as well

The expected behavior is that every time the page loads there should only be one request sent to the server, but in fact after the first request Safari will make duplicate requests each subsequent page load. That is, two requests will be made at a time. 

The bug was first encountered June 22 2018 on a 2017 MacBook Pro 

The bug does not occur in google Chrome. 

See this Stack Overflow post for more details: 
https://stackoverflow.com/questions/56728800/why-is-safari-duplicating-get-request-but-chrome-does-not?noredirect=1#comment100050133_56728800
Comment 1 youenn fablet 2019-07-08 13:29:42 PDT

*** This bug has been marked as a duplicate of bug 199492 ***