Metadata-Version: 1.0
Name: repoze.squeeze
Version: 0.2
Summary: WSGI middleware for statistical HTML browser resource squeezing.
Home-page: http://www.repoze.org
Author: Malthe Borch and Stefan Eletzhofer
Author-email: repoze-dev@lists.repoze.org
License: BSD-derived (http://www.repoze.org/LICENSE.txt)
Description: repoze.squeeze
        ==============
        
        This package provides a WSGI middleware component which "squeezes"
        HTML documents by merging browser resources (javascript
        and stylesheets).
        
        It uses statistical analysis to determine the optimal bundles based on
        the HTML documents that pass through it. Vary-headers are observed, as
        are resource expiration dates.
        
        Documents that are not squeezed are given the 'no-cache' pragma in an
        expectation that we will be able to squeeze it after sufficient
        burn-in. Squeezed documents are served with expiration dates no later
        than the expiration dates of the squeezed resources which it
        references.
        
        Usage
        -----
        
        The middleware requires two following options to be set:
        
        @cache_dir: Relative path to a directory where we store squeezed
        resources
        
        @url_prefix: Path segment or full base URL that will be used to
        serve the cache directory as static files.
        
        Remember to configure a WSGI application to serve the squeezed
        resources!
        
        
        
        
        Changelog
        ---------
        
        Head
        ~~~~
        
        0.2 (released 2008-10-03)
        ~~~~~~~~~~~~~~~~~~~~~~~~~
        
        - Add setuptools as a dependency. [mborch]
        
        0.1 (released 2008-10-02)
        ~~~~~~~~~~~~~~~~~~~~~~~~~
        
        - Initial release.
        
        
        
Keywords: web middleware wsgi css js squeeze merging statistics cache
Platform: UNKNOWN
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: Programming Language :: Python
Classifier: Topic :: Internet :: WWW/HTTP
Classifier: Topic :: Internet :: WWW/HTTP :: WSGI
Classifier: Topic :: Internet :: WWW/HTTP :: WSGI :: Application
