Yes, locmem is memory local to a single Python process. If you're
running Django in some sort of multi-process server (as most people
do) e.g. Apache with the prefork MPM, each Python process will have to
cache for itself. If you use memcached then all of your Python
processes will speak to another process (memcached) and thus have the
same cache state at any given time.
> I turned on locmem today, but I don't think it is working. How can I
> tell? I looked at my site with two browsers, one logged into admin,
> and the other as anonymous. I made changes to the site as admin, and
> the anonymous guy picked them up immediately.
Is this using Django runserver, or under a 'production' setup such as
Apache? If you're using Apache this could be an example of the above,
your other user's request went to a different process which hadn't
cached the page yet in its own local memory.
Brett