using gripped files in spaces cdn

Is there a way to use gzip files in spaces and have them served to the page? Currently if I try to do this, the page does not handle it well from what I assume is the header is not configured for gzip.

Is there a solution to this?

Submit an answer
Answer a question...

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Bobby Iliev
Site Moderator
Site Moderator badge
June 9, 2022

Hey @rsamman,

Just to clarify, do you want to just enable gzip compression, or are your files already gzipped and you want to display them on your page?

If it is the latter, I believe that you can’t display the contents of a gzipped files directly without extracting it first even if the gzip header is present.

If it is the first one, currently, gzip compression is not available for Spaces, but this sounds like it’d be super useful!

The best thing to do to get your voice heard regarding this would be to head over to our Product Ideas board and post a new idea, including as much information as possible for what you’d like to see implemented.

Hope that helps!

- Bobby.