Welcome, guest | Sign In | My Account | Store | Cart

Notice! PyPM is being replaced with the ActiveState Platform, which enhances PyPM’s build and deploy capabilities. Create your free Platform account to download ActivePython or customize Python with the packages you require and get automatic updates.

Download
ActivePython
INSTALL>
pypm install tiddlywebplugins.caching

How to install tiddlywebplugins.caching

  1. Download and install ActivePython
  2. Open Command Prompt
  3. Type pypm install tiddlywebplugins.caching
 Python 2.7Python 3.2Python 3.3
Windows (32-bit)
0.9.15
0.9.17Never BuiltWhy not?
0.9.15 Available View build log
0.9.14 Available View build log
0.9.13 Available View build log
0.9.12 Available View build log
0.9.11 Available View build log
0.9.10 Available View build log
0.9.9 Available View build log
0.9.8 Available View build log
0.9.7 Available View build log
0.9.6 Available View build log
0.9.5 Available View build log
0.9.3 Available View build log
0.9.2 Available View build log
0.9.1 Available View build log
Windows (64-bit)
0.9.15
0.9.17Never BuiltWhy not?
0.9.15 Available View build log
0.9.14 Available View build log
0.9.13 Available View build log
0.9.12 Available View build log
0.9.11 Available View build log
0.9.10 Available View build log
0.9.9 Available View build log
0.9.8 Available View build log
0.9.7 Available View build log
0.9.6 Available View build log
0.9.5 Available View build log
0.9.3 Available View build log
0.9.2 Available View build log
0.9.1 Available View build log
Mac OS X (10.5+)
0.9.15
0.9.17Never BuiltWhy not?
0.9.15 Available View build log
0.9.14 Available View build log
0.9.13 Available View build log
0.9.12 Available View build log
0.9.11 Available View build log
0.9.10 Available View build log
0.9.9 Available View build log
0.9.8 Available View build log
0.9.7 Available View build log
0.9.6 Available View build log
0.9.5 Available View build log
0.9.3 Available View build log
0.9.2 Available View build log
0.9.1 Available View build log
Linux (32-bit)
0.9.15
0.9.17Never BuiltWhy not?
0.9.15 Available View build log
0.9.14 Available View build log
0.9.13 Available View build log
0.9.12 Available View build log
0.9.11 Available View build log
0.9.10 Available View build log
0.9.9 Available View build log
0.9.8 Available View build log
0.9.7 Available View build log
0.9.6 Available View build log
0.9.5 Available View build log
0.9.3 Available View build log
0.9.2 Available View build log
0.9.1 Available View build log
Linux (64-bit)
0.9.17 Available View build log
0.9.15 Available View build log
0.9.14 Available View build log
0.9.13 Available View build log
0.9.12 Available View build log
0.9.11 Available View build log
0.9.10 Available View build log
0.9.9 Available View build log
0.9.8 Available View build log
0.9.7 Available View build log
0.9.6 Available View build log
0.9.5 Available View build log
0.9.3 Available View build log
0.9.2 Available View build log
0.9.1 Available View build log
 
Author
Lastest release
version 0.9.17 on Jan 9th, 2014

A memcached based cache for any store used with tiddlyweb. Decorates an existing store, wrapping a defined store, caching retrieved objects.

To make use of this store, there are several software and administrative requirements. This is fairly complex stuff so don't expect to be able to just turn it on and make it go.

You must have:

  • a memcached server

  • the python-memcached module

  • the following changes to your tiddlywebconfig.py:

    config = {

    # set the server_store to be the caching.py module 'server_store': ['tiddlywebplugins.caching', {}], # the host and port of one or more memcached servers. # this is separate from server_store in case there are # other things that want to use a memcached server 'memcache_hosts': ['127.0.0.1:11211'], # the configuration of the base store which is # being cached by the caching store. Its structure # is the same as server_store. 'cached_store': ['text', {'store_root': 'store'}],

    System Message: WARNING/2 (<string>, line 26)

    Definition list ends without a blank line; unexpected unindent.

    }

If you run this code against the TiddlyWeb core tests you should be aware that some of them will fail because the cache is not flushed between runs, so sometimes there are incorrect values in the cache.

If you choose to use this in a production environment you will need to write some scripts which start, stop or clear the memcache cache upon each fresh start of the server. You must also keep in mind that if you edit data in your on disk store by hand, you need to remember to invalidate the in RAM cache through some mechanism.

Licensed under the same terms as TiddlyWeb itself.

Copyright 2010, Chris Dent <cdent@peermore.com>.

Subscribe to package updates

Last updated Jan 9th, 2014

Download Stats

Last month:4

What does the lock icon mean?

Builds marked with a lock icon are only available via PyPM to users with a current ActivePython Business Edition subscription.

Need custom builds or support?

ActivePython Enterprise Edition guarantees priority access to technical support, indemnification, expert consulting and quality-assured language builds.

Plan on re-distributing ActivePython?

Get re-distribution rights and eliminate legal risks with ActivePython OEM Edition.