* feat(encode): add mime-type headers to cache handlers
This commit adds a simple MIME-type guessing logic to `onCacheHit` and
`onCacheMiss` handlers, which sets `Content-Type` HTTP response header based on
format specified by transcoding profile.
* Make cacheFile stat() error fatal
Co-authored-by: Senan Kelly <senan@senan.xyz>
* Make linter happy
Good morning to you too, mister linter!
Co-authored-by: Senan Kelly <senan@senan.xyz>
Co-authored-by: Senan Kelly <senan@senan.xyz>