Skip to content

Commit

Permalink
Updated documentation to clarify cache requirements for proper operat…
Browse files Browse the repository at this point in the history
…ion, fixes issue 5
  • Loading branch information
gulopine committed Jul 17, 2007
1 parent 3d55ed4 commit 5d9b57b
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions dbsettings/dbsettings.txt
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,24 @@ the rest. You may choose any location you like::
...
)

A note about caching
--------------------

This framework utilizes Django's built-in `cache framework`_, which is used to
minimize how often the database needs to be accessed. During development,
Django's built-in server runs in a single process, so all cache backends will
work just fine.

Most productions environments, including mod_python and FastCGI, run multiple
processes, which some backends don't fully support. When using the ``simple``
or ``locmem`` backends, updates to your settings won't be reflected immediately,
causing your application to ignore the new changes.

No other backends exhibit this behavior, but since ``simple`` is the default,
make sure to specify a proper backend when moving to a production environment.

.. _`cache framework`: http://www.djangoproject.com/documentation/cache/

Usage
=====

Expand Down

0 comments on commit 5d9b57b

Please sign in to comment.