I am having a random problem with my website. I am not sure if its just my internet connection that is causing this or if it is a problem with the website it self.
The prob is that randomly once in like every 5-6 visits, the website will take a long time to load. Normal load time is about 850ms. But when this random bug/glitch/problem/something happens, it will take about 5.5 seconds to load the page.
The site contains javascript, PHP randomizer, uses PHP's date() function and logs the visitors' IP address and time.
One by one I took out all of these and even then the bug occurs.
Try refreshing the page if it loads fine the first time and keep doing so and withing 10 refreshes you'll see what I'm talking about. (that is if the problem is not my internet)
Also, Google's dev tools tells me that everytime that 5.5 sec glitch occurs, my index page:
Send Request: GET
Total Heap Size: 11MB
Any idea what that means?