Helpers for serving static content from http4s
Note that these tools are relatively primitive and a dedicated server should be used
for serious static content serving.
Cache the body of a Response for future use
A CacheStrategy acts like a after filter in that it can look at the
Response and Uri of the Request and decide if the body for
the response has already been cached, needs caching, or to let it pass through.
CacheStrategy that will cache all Response bodies in local memory
This is useful when serving a very limited amount of static content and want
to avoid disk access.
Cache strategy that doesn't cache anything, ever.
Make a new org.http4s.HttpService that serves static files.
Make a new org.http4s.HttpService that serves static files, possibly from the classpath.