I'm hosting a simple nancy website (self-host, console app) inside docker on ubuntu 14.04.1 via mono 3.10. Nancy version 1.1
The first time I hit any route, it takes approx. 1 full second to return. Subsequent requests to the same route take ~15ms. I don't just mean the very first hit to the application, I would understand that, but this is every single unique route has a first-hit cost of 1000ms, then all following requests to that route are quick.
The same executable on a windows server (not my local dev-box, but somewhere else on the network) does not have this behavior. Has anyone else experienced this? If so, how do I remedy it without writing a program that just hits every single route once upon startup in order to 'prime-the-pump'?
Thanks in advance.