Metadata-Version: 2.1
Name: wagtail-cache
Version: 0.5.0
Summary: A simple page cache for Wagtail based on the Django cache middleware.
Home-page: https://github.com/coderedcorp/wagtail-cache
Author: CodeRed LLC
Author-email: info@coderedcorp.com
License: BSD license
Platform: UNKNOWN
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: BSD License
Classifier: Natural Language :: English
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Framework :: Django
Classifier: Framework :: Django :: 2.0
Classifier: Framework :: Wagtail
Classifier: Framework :: Wagtail :: 2
Description-Content-Type: text/markdown
Requires-Dist: wagtail (>=2.0)
Provides-Extra: dev
Requires-Dist: pylint-django ; extra == 'dev'
Requires-Dist: sphinx ; extra == 'dev'
Requires-Dist: twine ; extra == 'dev'
Requires-Dist: wheel ; extra == 'dev'

# Wagtail Cache
A simple page cache for Wagtail using the Django cache middleware.

[Documentation](https://docs.coderedcorp.com/wagtail-cache/) |
[Source code on GitHub](https://github.com/coderedcorp/wagtail-cache)

```
pip install wagtail-cache
```

## Why Wagtail Cache?
Django has a robust cache middleware that already has the functionality
needed to cache web pages effectively. But turning the cache middleware
on will blindly cache every request and does not work well with a wagtail site.

Wagtail Cache provides a decorator that works well with wagtail pages to
appropriately cache and serve them using Django's cache middleware.

The end result is ultra-fast page serving that requires zero database hits
to serve cached pages. Other solutions such as template caching still require
database hits for wagtail to serve a page.

## Notes
This cache feature was originally part of [coderedcms](https://github.com/coderedcorp/coderedcms)
and has been in use successfully on live production sites. Eventually the
coderedcms cache will be replaced with wagtail-cache after it has been tested.


