dogpile.cache-dict-config / docs / build / usage.rst

Diff from to

docs/build/usage.rst

 caching.   
 
 With a caching system in mind, dogpile.cache provides an interface to a particular Python API
-targeted at that system.  In this document, we'll illustrate Memcached usage 
-using the `pylibmc <http://pypi.python.org/pypi/pylibmc>`_ backend, which is a high performing 
-Python library for Memcached.  It can be compared to the `python-memcached <http://pypi.python.org/pypi/python-memcached>`_
-client, which is also an excellent product.  Pylibmc is written against Memcached's native API
-so is markedly faster, though might be considered to have rougher edges.   The API is actually a bit 
-more verbose to allow for correct multithreaded usage.
+targeted at that system.  
 
 A dogpile.cache configuration consists of the following components:
 
     def load_user_info(user_id):
         return some_database.lookup_user_by_id(user_id)
 
+.. sidebar:: pylibmc
+
+    In this section, we're illustrating Memcached usage 
+    using the `pylibmc <http://pypi.python.org/pypi/pylibmc>`_ backend, which is a high performing 
+    Python library for Memcached.  It can be compared to the `python-memcached <http://pypi.python.org/pypi/python-memcached>`_
+    client, which is also an excellent product.  Pylibmc is written against Memcached's native API
+    so is markedly faster, though might be considered to have rougher edges.   The API is actually a bit 
+    more verbose to allow for correct multithreaded usage.
+
+
 Above, we create a :class:`.CacheRegion` using the :func:`.make_region` function, then
 apply the backend configuration via the :meth:`.CacheRegion.configure` method, which returns the 
 region.  The name of the backend is the only argument required by :meth:`.CacheRegion.configure`
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.