Follow

Bloody hell, Firefox, bloody hell!…

I think I’ve finally handled all the issues it has with EventSource: the hairiest of which is that it times out an EventSource connection after 30 seconds if you refresh the page. If you force refresh, it’s fine. So – gotta love web dev, really – I’m detecting when I haven’t asked for a full refresh in the beforeunload handler, setting a cookie (fuck me), and on load, checking if the cookie exists and forcing a full reload.

FML! 🤢 But it works! *smh*

· · Web · 1 · 0 · 2