Website randomly loading for 15+ seconds

Hey, i’ve been facing an issue where randomly my website is loading for 15+ seconds. It works just fine most of the time but sometimes it does not. If i connect directly through IP response time is less than 100ms.

Anyone has ideas why is that? Not a problem with my nginx, as it loads very quickly if not routed through cloudflare. It is very hard to have a consistant repro as there seems to be no pattern.

Here I have screenshots from chrome dev tools

Service is written in golang. I’ve done some printing to console, from the start of execution to the end is less than 10ms so it should not be an issue

This topic was automatically closed 5 days after the last reply. New replies are no longer allowed.