do http compression at proxy level?
Hello.
I'm migrating my website to railway, and being used to other providers doing compression at the proxy level I'm a bit surprised railway does not. Is there any setting to activate this? Should I do this at the cloudflare level just like my custom domain?
15 Replies
Project ID:
N/A
N/A
it's true railway does not compress your responses and provides no way to enable this functionality, this is definitely something cloudflare is better suited for
Ok, will see if I can just proxy everything through cloudflare , because doing it at my astro server is probably not going to be very efficient
Nope, this breaks the site. Anyone had specific instructions for something like this?
how does it break the site?
I suddenly got "too many redirects"
please see this docs section https://docs.railway.app/guides/public-networking#provider-specific-instructions
Will do, thanks
It worked. Just by activating this it went from 95 score to 98 ok page rank, and feels much faster
awesome, may i ask what kind of site you are hosting on railway? 🙂
My wedding website . Information about when and some area for guests
cool, what kind of tech stack?
Astro + Lucia + Postgres . Most astro islands are powered by svelte and real time features by supabase
S3 for file related things.
I started using Vercel blob and Vercel Postgres, but they are too limited
thanks for sharing!
You're welcome