Django debug toolbar showing only fraction of page load time

139 views Asked by At

Loading the index page of my django app on a dedicated (but old) server, takes about 5 seconds (estimate). Loading the index page of my django app on the localhost takes at most few hundred miliseconds.

I have installed django-debug-toolbar on both of the servers:

production: CPU time ~900 ms localhost: CPU time ~30 ms

The ping to production server takes about 80ms.

Where did the rest of the time go?

0

There are 0 answers