Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

A simple caching for sql query

Project Description
=====
SQL Cache
=====

SQL Cache is a simple Django Middleware to prevent execute the same sql query in one request.

Quick start
-----------

1. Go to your project directory

2. Install sql cache

python directory_to_sql_cache/setup.py install

3. Add "sql_cache" to your INSTALLED_APPS setting like this::

INSTALLED_APPS = (
...
'sql_cache',
)

4. Add "django_sql_cache.middleware.QueryCacheMiddleware" to your MIDDLEWARE_CLASSES
MIDDLEWARE_CLASSES = (
...
'sql_cache.middleware.QueryCacheMiddleware',
)
Release History

Release History

This version
History Node

0.1

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting