cache-handler icon indicating copy to clipboard operation
cache-handler copied to clipboard

FYI: cache tests

Open mnot opened this issue 2 years ago • 3 comments

Just so you know, I've added caddy + cache-handler to https://cache-tests.fyi

Happy to talk through individual tests if there's interest.

mnot avatar Jul 13 '23 00:07 mnot

Hey @mnot, thank you for adding Caddy there. I wonder if the default HTTP cache behavior (without any extra configuration) should not store the response if this one doesn't have the Cache-Control HTTP response header.
We will work on the main codebase to support most of the cache-tests test suite.

darkweak avatar Jul 13 '23 14:07 darkweak

Thank you Mark! And thanks @darkweak for maintaining this :blush:

mholt avatar Jul 13 '23 16:07 mholt

Thnx, this was really helpful, because i couldn't figure out why my http 400 responses were not cached, even though they contain the right cache headers. Changing them to 404 fixed the issue for me :)

Jimbolino avatar Nov 09 '24 00:11 Jimbolino