On 1/15/07, Joe <[EMAIL PROTECTED]> wrote:
Whenever someone goes to the site (the home page), a new database
connection is created with the Django database.  I have caching
enabled:

A couple possibilities:

* If you have the session middleware enabled, sessions (even for
anonymous users) are stored in the database between visits, and a
return visit means looking up the session based on the session cookie.
* If you have the authentication middleware enabled, Django will look
up logged-in users in the DB when they hit the site.

That said, it's generally hard to debug this sort of thing without a
lot of detail; we do over a million pageviews a day on an amount of
hardware that'd probably surprise most people, so I know Django can
handle the traffic ;)

--
"May the forces of evil become confused on the way to your house."
 -- George Carlin

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Django 
users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to