A simple page cache for Wagtail based on the Django cache middleware.
Project description
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 | |
| Build |
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":
-
Was sourced from the Fork Awesome project at https://github.com/ForkAwesome/Fork-Awesome.
-
Is licensed under the Creative Commons Attribution 3.0 Unported license, a copy of which is available at https://creativecommons.org/licenses/by/3.0/
-
Has been modified from the original sources.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file wagtail_cache-3.0.0.tar.gz.
File metadata
- Download URL: wagtail_cache-3.0.0.tar.gz
- Upload date:
- Size: 12.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a12b9f7dbd41b560b7fa77be08a6c7ab292536e37296dc910275b99c198ddd1e
|
|
| MD5 |
ec3ea022b02ff3777fc8e7e2c8fba694
|
|
| BLAKE2b-256 |
03de30e9441b66e9f679198ff5046b6bb6fa3dffe5e1a8268ac5b0847356ab89
|
File details
Details for the file wagtail_cache-3.0.0-py3-none-any.whl.
File metadata
- Download URL: wagtail_cache-3.0.0-py3-none-any.whl
- Upload date:
- Size: 15.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2bbb8d1bc5c4c9d7755113c0c8b91b3ec8a0c90bd560ef62aab99698961114fa
|
|
| MD5 |
e23a0ec848f224762972eee3895fee6d
|
|
| BLAKE2b-256 |
19921c83f4c93e015034666ac192a7e7716236c9595331a8db45fa7b43d159ea
|