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

Download files

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

Source Distribution

cjkcms_cache-3.0.1.tar.gz (12.2 kB view details)

Uploaded Source

Built Distribution

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

cjkcms_cache-3.0.1-py3-none-any.whl (15.0 kB view details)

Uploaded Python 3

File details

Details for the file cjkcms_cache-3.0.1.tar.gz.

File metadata

  • Download URL: cjkcms_cache-3.0.1.tar.gz
  • Upload date:
  • Size: 12.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.13.15

File hashes

Hashes for cjkcms_cache-3.0.1.tar.gz
Algorithm Hash digest
SHA256 08d8e19d4d0b21a72b217c610be2eaddda31c816ffac71bb74ac59d929bbb363
MD5 31b8d657e00aba2e154cc1fc9dbd5f42
BLAKE2b-256 b176b6dfee87fcf212b07ce15ae36dbb99db1954633e3130f1003e4a5aa57b3c

See more details on using hashes here.

File details

Details for the file cjkcms_cache-3.0.1-py3-none-any.whl.

File metadata

  • Download URL: cjkcms_cache-3.0.1-py3-none-any.whl
  • Upload date:
  • Size: 15.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.13.15

File hashes

Hashes for cjkcms_cache-3.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 dfec1b5305368e15ae2cfb7be77a44449b693aac57408d3abd7e23eb2d544beb
MD5 64b64022a00794135036c334feee5595
BLAKE2b-256 8fb47e87d885910f9dcc3c156bc4bdb033b95624ee30e730f98b279b09c1c6c1

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

3.0.1 This release

2 files

2.3.2

2 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