-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Open
Labels
A-webproject: actix-webproject: actix-webC-improvementCategory: an improvement to existing functionalityCategory: an improvement to existing functionality
Milestone
Description
Expected Behavior
I should be able to use CacheDirective::Immutable for implementing Cache-Control headers for the cache-busting pattern.
Current Behavior
I have to use CacheDirective::Extension("immutable".to_owned(), None)
Possible Solution
Add CacheDirective variants for the following variants listed on MDN but missing from the enum:
- must-understand
- immutable
- stale-while-revalidate
- stale-if-error
Your Environment
- Rust Version (I.e, output of
rustc -V): rustc 1.59.0 (9d1b2106e 2022-02-23) - Actix Web Version: 4.0.1
mattmahn and tinaxd
Metadata
Metadata
Assignees
Labels
A-webproject: actix-webproject: actix-webC-improvementCategory: an improvement to existing functionalityCategory: an improvement to existing functionality