5 releases

0.2.3 Apr 7, 2024
0.2.2 Jan 2, 2024
0.2.1 Mar 10, 2023
0.2.0 Mar 9, 2023
0.1.0 Oct 10, 2021

#19 in #trillium

Download history 634/week @ 2025-08-13 643/week @ 2025-08-20 232/week @ 2025-08-27 626/week @ 2025-09-03 359/week @ 2025-09-10 317/week @ 2025-09-17 537/week @ 2025-09-24 253/week @ 2025-10-01 517/week @ 2025-10-08 1150/week @ 2025-10-15 236/week @ 2025-10-22 718/week @ 2025-10-29 411/week @ 2025-11-05 645/week @ 2025-11-12 739/week @ 2025-11-19 665/week @ 2025-11-26

2,564 downloads per month

MIT/Apache

83KB
1.5K SLoC

Trillium handlers for etag and last-modified-since headers.

This crate provides three handlers: Etag, Modified, and CachingHeaders, as well as a CachingHeadersExt that extends trillium::Headers with some accessors.

Unless you are sure that you don't want either etag or last-modified behavior, please use the combined CachingHeaders handler.


Welcome to Trillium!

📖 Guide 📖

The guide provides an architectural overview and lay of the land connecting the trillium crates.

📑 Rustdocs 📑

The rustdocs represent the best way to learn about any of trillium's individual crates and the specific interfaces.




Legal:

Licensed under either of

at your option.

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

Dependencies

~7.5MB
~190K SLoC