I have a pretty simple Vuejs application that is hosted under NGINX. My hardware is Raspberry Pi 3B+ (OS: Raspbian).
Every time I go to my application from any device in my network (Windows computer, Android, IOS), the initial load time is extremely long. If I would have started a stopwatch when I made the initial browser request (from Chrome in all cases), and stopped it when the application had finished loading, I would reach approximately 7 s.
My Vuejs application has a chunk-vendors.js.map-file (~5.4 MB) which seems to be the "heaviest" thing here (according to performance tab in Chrome), I'm not sure.
But! If I for example request the application from my Windows computer, wait a few seconds, and then request the application from my Android device (or the opposite: start with a request from Android device, wait a few seconds, and then request the application from my computer), the loading time for last device is very short!
Question:
All of this makes me believe that something is in idle state? Does NGINX ever go into sleep mode (or something like it)?