title: Django nginx/uwsgi - first request is very slow
body: <p>I am having a problem with nginx or uwsgi. </p>
  
  <p>When I enter site after some time of unactivity or after a service restart the first request is always very slow. </p>
  
  <p>From uwsgi logs I got info that first request takes about 3000-4000ms, and other requests take about 30-50ms.</p>
  
  <p>I am just guessing that there's a problem with uwsgi workers.</p>
  
  <p>I'll paste additional config a bit later.</p>
  
  <p>How do I track down this bug? What could be the cause of the problem?</p>