BTW, it is on Safari running on MacOS Mojave.
I just figured out the cause. CookieBeGone extension is the cause. It's likely that the JS is trying to search for a cookie and keeps reloading. It's still a bug as it should NEVER reload in a loop if it cannot set a cookie.