Hi,

I am deploying a Django project on Apache2. The Apache is running using 
mod_wsgi daemon mode. The first page of the website usually loads so slow. 
Before loading the first page (html, css) the user's identification should 
be verified (check the variable they pass through GET). When checking the 
developer tools I find that it is the verification that takes 10 to 20 
seconds. The most of time is stuck in waiting (TTFB). An Apache process is 
created for each user. On the server, the very slow load corresponds with a 
100% CPU use.

I find similar question here (
https://stackoverflow.com/questions/1702562/speeding-up-the-first-page-load-in-django).
 
However, revising the configuration file is not helpful.

Is there anyone who has an idea of the problem? Or do I need to provide 
more information about the problem? Thanks.

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/93680fda-2b06-463c-84b5-f35de2039730%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to