Metadata-Version: 1.0
Name: django-nginx-ssi
Version: 0.1.1
Summary: Django SSI library for use with Nginx
Home-page: http://github.com/smn/django-nginx-ssi
Author: Simon de Haan
Author-email: simon@praekeltfoundation.org
License: BSD
Description: Django SSI
        ==========
        
        See http://wiki.nginx.org/HttpSsiModule
        
        ::
            
            {% load nginxssi_tags %}
            hello
            {% nginxssi %}
                <b> okidoki </b> {%now "jS F Y H:i"%} Hello {{foo}}
            {% endnginxssi %}
            world
            
        Renders inline as:
        
        ::
            
            hello
            <!--# include virtual="/nginxssi/a3e5fa678243e0bab620fbca75f6601d/" -->
            world
        
        A request to `/nginxssi/a3e5fa678243e0bab620fbca75f6601d/` renders:
        
        ::
            
            <b> okidoki </b> 25th January 2011 13:26 Hello bar
            
        Nginx will stitch these two together to form:
        
        ::
            
            hello
            <b> okidoki </b> 25th January 2011 13:26 Hello bar
            world
        
        
        How it works
        ------------
        
            1. The template is cached in its raw unrendered form
            2. The template string's md5 hash is used as a cache key
            3. The template's context is stored with the cache key as a prefix
            4. A request to the SSI url looks up the template and the context 
               in the cache, renders it and returns the HttpResponse
            
Platform: UNKNOWN
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: BSD License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Framework :: Django
Classifier: Topic :: Software Development :: Libraries :: Python Modules
