[Webkit-unassigned] [Bug 187435] New: "serviceworker.js" is fetched several times in a row

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Jul 7 10:30:09 PDT 2018


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

            Bug ID: 187435
           Summary: "serviceworker.js" is fetched several times in a row
           Product: WebKit
           Version: Safari 11
          Hardware: iPhone / iPad
                OS: iOS 11
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Page Loading
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: hendrex.jakai at ldaho0ak.com
                CC: beidson at apple.com

I enabled an Apache module that will block IPs that send several requests to my website in a very short time.

I noticed that a number of IPs were blocked straight away, and all of those users use Safari on iOS.

After a quick investigation, I saw that those users were requesting "serviceworker.js" several times. I believe this is a bug and this file should only be fetched once.



Example access logs below:

07/Jul/2018 17:02:51    GET     HTTP/1.1        200     1718    /serviceworker.js?v=29
07/Jul/2018 17:02:51    GET     HTTP/1.1        200     1718    /serviceworker.js?v=29
07/Jul/2018 17:02:51    GET     HTTP/1.1        200     1718    /serviceworker.js?v=29
07/Jul/2018 17:02:51    GET     HTTP/1.1        200     1718    /serviceworker.js?v=29
07/Jul/2018 17:02:51    GET     HTTP/1.1        200     1718    /serviceworker.js?v=29
07/Jul/2018 17:02:52    GET     HTTP/1.1        200     1718    /serviceworker.js?v=29
07/Jul/2018 17:02:52    GET     HTTP/1.1        200     1718    /serviceworker.js?v=29
07/Jul/2018 17:02:52    GET     HTTP/1.1        200     1718    /serviceworker.js?v=29
07/Jul/2018 17:02:52    GET     HTTP/1.1        200     1718    /serviceworker.js?v=29
07/Jul/2018 17:02:52    GET     HTTP/1.1        200     1718    /serviceworker.js?v=29
07/Jul/2018 17:02:52    GET     HTTP/1.1        200     1718    /serviceworker.js?v=29
07/Jul/2018 17:02:52    GET     HTTP/1.1        200     1718    /serviceworker.js?v=29
07/Jul/2018 17:02:52    GET     HTTP/1.1        200     1718    /serviceworker.js?v=29
07/Jul/2018 17:02:52    GET     HTTP/1.1        200     1718    /serviceworker.js?v=29
07/Jul/2018 17:02:52    GET     HTTP/1.1        200     1718    /serviceworker.js?v=29
07/Jul/2018 17:02:53    GET     HTTP/1.1        200     1718    /serviceworker.js?v=29
07/Jul/2018 17:02:53    GET     HTTP/1.1        200     1718    /serviceworker.js?v=29
07/Jul/2018 17:02:53    GET     HTTP/1.1        200     1718    /serviceworker.js?v=29
07/Jul/2018 17:02:53    GET     HTTP/1.1        200     1718    /serviceworker.js?v=29
07/Jul/2018 17:02:53    GET     HTTP/1.1        200     1718    /serviceworker.js?v=29
07/Jul/2018 17:02:53    GET     HTTP/1.1        200     1718    /serviceworker.js?v=29
07/Jul/2018 17:02:53    GET     HTTP/1.1        200     1718    /serviceworker.js?v=29
07/Jul/2018 17:02:53    GET     HTTP/1.1        200     1718    /serviceworker.js?v=29
07/Jul/2018 17:02:53    GET     HTTP/1.1        200     1718    /serviceworker.js?v=29
07/Jul/2018 17:02:53    GET     HTTP/1.1        200     1718    /serviceworker.js?v=29
07/Jul/2018 17:02:53    GET     HTTP/1.1        403     815     /serviceworker.js?v=29
07/Jul/2018 17:02:54    GET     HTTP/1.1        200     1718    /serviceworker.js?v=29
07/Jul/2018 17:02:54    GET     HTTP/1.1        200     1718    /serviceworker.js?v=29
07/Jul/2018 17:02:54    GET     HTTP/1.1        200     1718    /serviceworker.js?v=29



Response Headers:

HTTP/1.1 200 OK
Date: Sat, 07 Jul 2018 17:22:36 GMT
Server: Apache
Last-Modified: Sun, 01 Jul 2018 18:48:58 GMT
ETag: "284a38-1328-56ff488a4561e-gzip"
Accept-Ranges: bytes
Cache-Control: max-age=290304000, public
Expires: Tue, 02 Jul 2019 17:22:36 GMT
Vary: Accept-Encoding
Content-Encoding: gzip
Access-Control-Allow-Origin: *
Content-Length: 1718
Keep-Alive: timeout=5, max=100
Connection: Keep-Alive
Content-Type: application/javascript


Happens on both 11.3 and 11.4.

-- 
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/20180707/744e0b1a/attachment-0001.html>


More information about the webkit-unassigned mailing list