[GH-ISSUE #112] Use CacheLayer for index and QR pages #69

Closed
opened 2026-02-27 10:15:35 +03:00 by kerem · 1 comment
Owner

Originally created by @matze on GitHub (Feb 5, 2025).
Original GitHub issue: https://github.com/matze/wastebin/issues/112

Originally assigned to: @matze on GitHub.

We should not only cache HTML fragments for rendered pastes but everything to avoid re-computing the same index or QR codes. This can be done by adding a tower/axum CacheLayer instead of the bespoke way it's done now.

Originally created by @matze on GitHub (Feb 5, 2025). Original GitHub issue: https://github.com/matze/wastebin/issues/112 Originally assigned to: @matze on GitHub. We should not only cache HTML fragments for rendered pastes but everything to avoid re-computing the same index or QR codes. This can be done by adding a tower/axum CacheLayer instead of the bespoke way it's done now.
kerem closed this issue 2026-02-27 10:15:35 +03:00
Author
Owner

@matze commented on GitHub (Feb 14, 2025):

Since it's an additional dependency with further transitional dependencies lru should then be replaced by cached.

<!-- gh-comment-id:2659510843 --> @matze commented on GitHub (Feb 14, 2025): Since it's an additional dependency with further transitional dependencies `lru` should then be replaced by `cached`.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/wastebin-matze#69
No description provided.