Skip to main content

Wagtail Cache

A fast and simple page cache for Wagtail, inspired by the Django cache middleware.

Documentation | Source code on GitHub | PyPI

Status

Python Package PyPI - Python Version PyPI - Wheel PyPI - Downloads PyPI
Build Build Status Azure DevOps tests (branch) Azure DevOps coverage (branch)

Quick Start

Follow the Installation Guide

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 middleware, decorator, and mixin that works well with Wagtail pages, Django views, or even manually on any request/response to efficiently cache and serve from cache.

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.

Wagtail Cache also does not require any additional infrastructure such as Redis, Memcached, proxies, etc. It can work directly off the filesystem, or using any of Django's built-in cache backends.

Contributing

Follow the contributing guide

Attribution

Icon file "wagtailcache-bolt.svg":

Release files for wagtail-cache 3.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for wagtail-cache 3.0.0
File Size Uploaded
wagtail_cache-3.0.0.tar.gz 12.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for wagtail-cache 3.0.0
File Interpreter ABI Platform
wagtail_cache-3.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 27.3 kB

Release files / wagtail_cache-3.0.0.tar.gz

Download URL wagtail_cache-3.0.0.tar.gz
Size 12.3 kB
Tags Source
SHA-256 checksum
How to use checksums
a12b9f7dbd41b560b7fa77be08a6c7ab292536e37296dc910275b99c198ddd1e
BLAKE2b-256 checksum
How to use checksums
03de30e9441b66e9f679198ff5046b6bb6fa3dffe5e1a8268ac5b0847356ab89
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.5

Release files / wagtail_cache-3.0.0-py3-none-any.whl

Download URL wagtail_cache-3.0.0-py3-none-any.whl
Size 15.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2bbb8d1bc5c4c9d7755113c0c8b91b3ec8a0c90bd560ef62aab99698961114fa
BLAKE2b-256 checksum
How to use checksums
19921c83f4c93e015034666ac192a7e7716236c9595331a8db45fa7b43d159ea
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.5

Release history Release notifications | RSS feed

This release

3.0.0 This release

2 release files

2.5.1

2 release files

2.5.0

2 release files

2.4.0

1 release file

2.3.0

2 release files

2.2.0

2 release files

2.1.1

2 release files

2.1.0

2 release files

2.0.0

2 release files

1.2.1

2 release files

1.2.0

2 release files

1.1.0

2 release files

1.0.2

2 release files

1.0.1

2 release files

1.0.0

2 release files

0.5.2

2 release files

0.5.1

2 release files

0.5.0

2 release files

0.4.0

2 release files

0.3.0

2 release files

0.2.1

2 release files

0.2.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page