We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
e.g. This page is hosted on Cloudflare https://pillser.com/vitamins/vitamin-b1.data
Cloudflare
npm
I would expect response to be compressed.
Response is not compressed.
The reason for this is because content-type is set to text/x-turbo, and this is not recognized as a cacheable value by Cloudflare.
content-type
text/x-turbo
https://developers.cloudflare.com/speed/optimization/content/brotli/content-compression/
Change content type to application/json since it is valid JSON.
application/json
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Reproduction
e.g. This page is hosted on Cloudflare https://pillser.com/vitamins/vitamin-b1.data
System Info
Used Package Manager
npm
Expected Behavior
I would expect response to be compressed.
Actual Behavior
Response is not compressed.
The reason for this is because
content-type
is set totext/x-turbo
, and this is not recognized as a cacheable value by Cloudflare.https://developers.cloudflare.com/speed/optimization/content/brotli/content-compression/
Possible solution
Change content type to
application/json
since it is valid JSON.The text was updated successfully, but these errors were encountered: