Delay on first page load after server idle


My site tends to take longer time to load the page (up to 2 seconds TTFB) after I left the server idle and no requests being made.

After I made the request, the response time will be back to normal (<30ms TTFB), is there a way to keep the server warm/alive?

ps/ this happens on my local dev box as well