Current time: 11-26-2020, 03:11 PM Hello There, Guest! (LoginRegister)

Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Does WPT cache service workers between tests?
09-03-2020, 12:03 AM
Post: #1
Question Does WPT cache service workers between tests?
I am running a test for https://sports.tipico.de which downloads the service worker https://sports.tipico.de/sw.js. This service worker was recently updated (doesn't use hash/version number in URL) but WPT test results are returning the old service worker (https://www.webpagetest.org/response_bod...9988.235), even on new tests.

Does WPT cache the service worker, and if so how can I update it?
Find all posts by this user
Quote this message in a reply
09-03-2020, 12:55 AM
Post: #2
RE: Does WPT cache service workers between tests?
No, WPT completely wipes the profile between tests which nukes EVERYTHING. Is it possible that something is stuck in your CDN cache that needs to be purged?
Visit this user's website Find all posts by this user
Quote this message in a reply
09-03-2020, 01:44 AM
Post: #3
RE: Does WPT cache service workers between tests?
Thank you Patrick for your quick reply. I will follow up with the guys who manage the CDN then and update accordingly
Find all posts by this user
Quote this message in a reply
09-03-2020, 07:37 PM
Post: #4
RE: Does WPT cache service workers between tests?
As expected, it isn't related to WPT. I confirmed this by setting a host file record to the IP address used in the WPT response and using `curl`.
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 3 Guest(s)