Crates.io | http_cache_tags_axum |
lib.rs | http_cache_tags_axum |
version | 0.1.0-alpha.5 |
created_at | 2025-07-24 16:50:27.612626+00 |
updated_at | 2025-07-30 13:09:44.512115+00 |
description | An experimental cache tagging library for axum |
homepage | |
repository | https://gitlab.com/dkluhzeb/http_cache_tags |
max_upload_size | |
id | 1766297 |
size | 87,941 |
Experimental: Alpha Release
This crate is in early development. APIs are unstable and may change without notice. Not recommended for production use yet.
This crate extends the core http_cache_tags_core
library to provide Axum specific middleware, extractors, and API handlers.
It enables tag-based HTTP cache invalidation, cache metadata resolution, and response validation tailored for Axum applications.
The available features mirror those from the core crate and are propagated through this integration:
config_file
feature): Load cache config from TOML files.etag
feature): Generate and handle weak ETags.last_modified
feature): Track resource modification timestamps.redis
feature): Use Redis as a persistent backend for cache metadata.This crate provides:
ETag
, Last-Modified
, and Cache-Control
.Use this crate alongside http_cache_tags_core
to enable full cache tagging support in Axum applications.
For convenience, consider using the umbrella crate http_cache_tags
, which bundles all framework integrations, including Actix and Axum.