Crates.io | http_cache_tags_actix |
lib.rs | http_cache_tags_actix |
version | 0.1.0-alpha.5 |
created_at | 2025-07-24 16:53:47.229072+00 |
updated_at | 2025-07-30 13:10:39.792029+00 |
description | An experimental cache tagging library for actix |
homepage | |
repository | https://gitlab.com/dkluhzeb/http_cache_tags |
max_upload_size | |
id | 1766300 |
size | 85,039 |
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 Actix-web specific middleware, extractors, and API handlers.
It enables tag-based HTTP cache invalidation, cache metadata resolution, and response validation tailored for Actix 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 Actix-web applications.
For convenience, consider using the umbrella crate http_cache_tags
, which bundles all framework integrations, including Actix and Axum.