Skip to main content

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

Project description

# 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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

wagtail-cache-0.2.0.tar.gz (4.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

wagtail_cache-0.2.0-py3-none-any.whl (5.4 kB view details)

Uploaded Python 3

File details

Details for the file wagtail-cache-0.2.0.tar.gz.

File metadata

  • Download URL: wagtail-cache-0.2.0.tar.gz
  • Upload date:
  • Size: 4.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/39.2.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.6

File hashes

Hashes for wagtail-cache-0.2.0.tar.gz
Algorithm Hash digest
SHA256 3cae676647bb7ab8e2c051a0c98e823258144e2a7d086b48df77fb7bd1fbd01d
MD5 6cb1a80cf7fd2765603f60da959df77f
BLAKE2b-256 2fbfaf15f0dbad1067e0013c2d00e4e755d96693f5f6d082579c28bfc1e68376

See more details on using hashes here.

File details

Details for the file wagtail_cache-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: wagtail_cache-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 5.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/39.2.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.6

File hashes

Hashes for wagtail_cache-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0d277a2a7246322ce72378bce669037602030febe6d2299d40b4f2e295b9a4b1
MD5 887ea085d5a0dd891784e155cf6f3c2f
BLAKE2b-256 abf95d6daa3122fa19ecebaa62c32d739815be8d7f37e4b7e834b3af9f4e296b

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page