Metadata-Version: 1.1
Name: sisu-cache-tools
Version: 0.0.2
Summary: Management tools for managing the cache
Home-page: https://github.com/mkoistinen/sisu-cache-tools
Author: Martin Koistinen
Author-email: mkoistinen@gmail.com
License: LICENSE.txt
Download-URL: https://github.com/mkoistinen/sisu-cache-tools/tarball/0.0.1
Description: sisu-cache-tools
        ================
        
        Basic cache management tools for djangoCMS projects.
        
        Implements a relatively automatic cache-invalidation capability and a 'precache' management command.
        
        This is useful for sites that have largely static content and are using memcached.
        
        
        Automated Cache invalidation
        ----------------------------
        
        To get the automated cache-invalidation, add 'taints_cache = True' as a class-attribute on any models that contain objects that will change the way pages appear. Using signals, this module will detect changes to those model objects and invalidate the (entire) cache.
        
        The cache can also be cleared with:
        
        ```` shell
        python manage.py clearcache
        ````
        
        Pre-emptive Caching
        -------------------
        
        When the operator is done with all of their changes, the might consider using:
        
        ```` shell
        python manage.py precache
        ````
        
        to make HTTP requests to every page found in the sitemaps defined in the ROOT_URLCONF. This will essentially preemptively load the pages into the cache so your visitors will get speedy access, even if they're the first one to 'hit' a given page.
        
        Also, to simply review all of the URLs, the operator can use:
        
        ```` shell
        python manage.py listurls
        ````
        
        And it will print all of the known URLs to stdout.
        
Platform: OS Independent
Classifier: Development Status :: 5 - Production/Stable
Classifier: Environment :: Web Environment
Classifier: Framework :: Django
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: BSD License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Topic :: Communications
Classifier: Topic :: Internet :: WWW/HTTP :: Dynamic Content
Classifier: Programming Language :: Python :: 2.7
