Iβm working on a server-side HTTP cache! Itβs a Haskell WAI middleware. Itβs controlled by Cache-Control
/ Vary
. It doesnβt have real storage backends yet, but it has a test that Iβm really happy with and some thoughts about using caches against DoS attacks in the README.
Oh, also itβs probably a good example of OOP-ish Haskell. Thanks to GADTs, the CacheConf
constructor βeatsβ the backend types :D Itβs like class Conf { BackendInterface backend; }
in Java/C#.