Respect all known mime types (or just text/cache-manifest)
My situation
I am building a site with Gitlab Pages, and it's worked well up to now. My roadblock is that I have an Application Cache file, manifest.appcache, which is served via Gitlab Pages with the mime type text/plain. Unfortunately, many browser completely break when this manifest file is served with anything besides text/cache-manifest, which means I cannot have an offline-first app in certain browsers. I know that service workers are the future, but they are not there yet in terms of browser support.
Possible solutions
- Serve
.appcachewithtext/cache-manifest
OR:
- For a more future-proof solution, respect the mime-db mime types when serving a file. This is the same thing that Github Pages does currently.
Thanks for all of the great work on Gitlab pages! I really enjoy using it.