astro-compressor icon indicating copy to clipboard operation
astro-compressor copied to clipboard

net::ERR_CONTENT_DECODING_FAILED

Open rafimaryudwika opened this issue 1 year ago • 1 comments

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. image

I don't know if the problem happens in Astro 4 or the browser itself

rafimaryudwika avatar Apr 02 '24 00:04 rafimaryudwika

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 😃

sondr3 avatar Apr 02 '24 06:04 sondr3

Closing due to inactivity, let me know if you encounter it still/again.

sondr3 avatar May 15 '24 14:05 sondr3

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).

rafimaryudwika avatar May 20 '24 11:05 rafimaryudwika