Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

251
Views
How can I tell what initiated a page refresh?

I have a webapp that makes use of websocket (io) to communicate with the backend. (It uses Underscore and JQuery, but nothing fancier like React.) In Safari, every few minutes the page refreshes.

How can I tell what made that happen? In the Developer Tools Network tab I see an xhr and other requests, but how do I see what line of Javascript initiated that?

enter image description here

Stopping on the beforeunload event in the debugger does not show anything in the call stack.enter image description here

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

There is a column initiator in the Network tab. You can see what initiates the network.

note: Chrome Version 92.0.4515.159 (Official Build) (64-bit)

enter image description here

about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!