On Jan 19, 1:34 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
> Hi,
>
> We are running django on mod_python with PythonDebug set to Off, and
> PythonAutoReload set to Off and we see that the calls to
> ContentType.objects.get_for_model(Model) hit the database any way. Any
> clue?
Do note that Apache is a multi process web server. Thus a request
isn't always handled by the same process and so subsequent requests
may go to a process where no caching has yet been performed. Also, the
number of processes isn't fixed as Apache may create additional
processes to meet demand, so when a request hits these, similarly,
nothing would be cached.
Graham
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
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
-~----------~----~----~----~------~----~------~--~---