7 Commits

Author SHA1 Message Date
Arjan Singh
7cd68913d4
refactor: parameterize cache middleware tests for readability 2025-08-29 12:14:55 -07:00
Arjan Singh
a0e084042e
refactor: move cache-controls to /middleware
We can test the code without excessively mocking server dependencies
2025-08-29 12:14:55 -07:00
Arjan Singh
180e19e923
test: mock torch in cache middleware tests 2025-08-29 12:14:41 -07:00
Arjan Singh
6c26a501c8
style: ruff format cache control tests 2025-08-29 12:14:40 -07:00
Arjan Singh
a7592defd2
refactor: based on code review feedback 2025-08-29 12:14:40 -07:00
Arjan Singh
4cb20f7f88
refactor: add 3xx cache-control rules to middleware 2025-08-29 12:14:40 -07:00
Arjan Singh
4284138a25
test: test cache handler and fix found issues 2025-08-29 12:14:40 -07:00