Hi, I read this guide to Cloudflares compression strategy:
https://support.cloudflare.com/hc/en-us/articles/200168396-What-will-Cloudflare-compress-
I’m wondering if there is a possibility to add content-types to be automatically compressed. I have some assets of type image/ktx
that are optimized for gzip compression, is there any way to do this through Cloudflare? Or do I have to do it at the origin?
Hi @moriz,
I can not specifically respond to the image/ktx
case, but I’ve separated some links that will certainly help you clarify questions about Cloudflare’s compression/optimization features:
From Learning Center
From Support
- What will Cloudflare compress?
- Does Cloudflare offer image optimization features?
- Using Cloudflare Polish to compress images
- What Does Mirage Do?
- What image formats do Polish and Mirage work with?
- Will Cloudflare’s image optimization features help if I’m already optimizing…
- How much do Cloudflare’s image optimization features cost?
I hope it helps.
Hi @dmz
many thanks for the links, I think classical image compression is not what I’m looking for though. My .ktx files contain textures for use in webGL and they are specifically optimized for gzip, which is untypical because normally it’s not a good idea to gzip an image. Thats why I was wondering if there is an option to add a mime type so Cloudflare will compress it.
Unfortunately, I don’t have sufficient knowledge in this area to help you.
As no other user has manifested, I think you could open a ticked on this issue to get a response from the support team. If you do, please consider sharing the answer in this topic so that everyone can benefit from the clarification in the future.
I’m hoping that you can achieve your goal.
This topic was automatically closed after 31 days. New replies are no longer allowed.