Re: Django with nginx - Waitingtime is more How to reduce

2015-06-01 Thread Tom Evans
On Mon, Jun 1, 2015 at 3:01 PM, Anandhakumar Radhakrishnan wrote: > Am using Django 1.7, nginx You're only using nginx to proxy to a backend webserver and serve static files. What is the backend webserver that is hosting django? > ... > > In the sites-enabled/mysite.com > > which has > > ups

Re: Django with nginx - Waitingtime is more How to reduce

2015-06-01 Thread Gagaro
Hi, You can use the Django Debug Toolbar to see actual time taken by your queries/templates/... Depending on what is taking time for you, there may be several solutions. If you have issues with your queries, you should take a look

Django with nginx - Waitingtime is more How to reduce

2015-06-01 Thread Anandhakumar Radhakrishnan
Am using Django 1.7, nginx My Django view page having dictionary to render to html. Content = { ..} r = render_to_response('tr/my-content.html',Content, context_instance= RequestContext(request)) ; t2 = datetime.now() ; print "Elapsed: %.3f" % (t2 -t1).total_seconds() ; print (len