astro-compressor
astro-compressor copied to clipboard
net::ERR_CONTENT_DECODING_FAILED
I use Astro 4.5 in SSR with Netlify adapter, when I tried compressor(), following the instructions for SSR implementation, build them and test the builded website. It show net::ERR_CONTENT_DECODING_FAILED 200 (OK) in Microsoft Edge 123.0.2420.65 and the website doesn't show at all.
I don't know if the problem happens in Astro 4 or the browser itself
I tried to reproduce myself using the official blog template with the Netlify adapter and it worked fine for me, do you have a repository so I can take a look? Otherwise, I'd point out that you don't need this extension when hosting on providers like Netlify/Vercel, they do edge compression for you. This is mostly useful for people who want to self host 😃
Closing due to inactivity, let me know if you encounter it still/again.
ate with the Netlify adapter and it worked fine for me, do you have a repository so I can take a look? Othe
Sorry for inactivity due to busy activity, unfortunately my repo was private since it will used for my client, unless if you want to invite to my repo. But I think since I used Netlify, this extension is no longer necessary since Netlfy offered the similar compression.
However, I'll tell you later when I implement to my personal website and self-hosting it (for experiment).