- Issue created by @mstrelan
- 🇦🇺Australia mstrelan
FWIW it seems CloudFlare supports the current mimetype https://developers.cloudflare.com/speed/optimization/content/brotli/cont...
- Status changed to Postponed: needs info
11 months ago 6:52am 5 July 2024 - 🇳🇱Netherlands bbrala Netherlands
Unfortunately: JSON:API requires use of the JSON:API media type (application/vnd.api+json) for exchanging data.
So it would be off-spec to use something else. You could discuss alternative options, like go offspec yourself by changing the header with some custom code. But we cannot change how core does this.
- 🇦🇺Australia mstrelan
I considered changing the header, and it seems to work, but concerned it may lead to issues. We can also configure nginx to compress
application/vnd.api+json
, but ideally I'd like CloudFront to do it for us.Happy for this to be closed, but leaving it open for now in case anyone has any novel ideas.