Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

wagtail-cache

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

wagtail-cache

A simple page cache for Wagtail based on the Django cache middleware.

  • 2.5.1
  • Source
  • PyPI
  • Socket score

Maintainers
1

Wagtail Cache

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

Documentation | Source code on GitHub | PyPI

Status

Python PackagePyPI - Python Version PyPI - Wheel PyPI - Downloads PyPI
BuildBuild 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":

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc