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":

Metadata

Release files for wagtail-cache 3.1.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.1.0
File Size Uploaded Provenance Actions
wagtail_cache-3.1.0.tar.gz 12.8 kB Without provenance Details for wagtail_cache-3.1.0.tar.gz

Built distribution (wheel)

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

Total release size: 27.9 kB

Release files / wagtail_cache-3.1.0.tar.gz

Download URL wagtail_cache-3.1.0.tar.gz
Size 12.8 kB
Tags Source
SHA-256 checksum
How to use checksums
3a48476cb436000f5b19dd18ef0ca623c6a71943dc8b98aa47c4df4869caa3cd
BLAKE2b-256 checksum
How to use checksums
242294e18c69ed1945f939a365d379bc34200a5371251224fa8b0ed420f86ad8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.15.2

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

Download URL wagtail_cache-3.1.0-py3-none-any.whl
Size 15.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a3db4ff52614f9d061e7e5201bf69070fcb7618cb3748c55a8f9adb3f841ff22
BLAKE2b-256 checksum
How to use checksums
179e14a98212d61036a8791d71e5ea3db5b38d368396fac5dc00f0596f0a9575
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.15.2

Security for wagtail-cache 3.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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