R
Railway•9mo ago
danielo515

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
Percy
Percy•9mo ago
Project ID: N/A
danielo515
danielo515OP•9mo ago
N/A
Brody
Brody•9mo ago
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
danielo515
danielo515OP•9mo ago
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
danielo515
danielo515OP•9mo ago
Nope, this breaks the site. Anyone had specific instructions for something like this?
No description
Brody
Brody•9mo ago
how does it break the site?
danielo515
danielo515OP•9mo ago
I suddenly got "too many redirects"
danielo515
danielo515OP•9mo ago
Will do, thanks It worked. Just by activating this it went from 95 score to 98 ok page rank, and feels much faster
Brody
Brody•9mo ago
awesome, may i ask what kind of site you are hosting on railway? 🙂
danielo515
danielo515OP•9mo ago
My wedding website . Information about when and some area for guests
Brody
Brody•9mo ago
cool, what kind of tech stack?
danielo515
danielo515OP•9mo ago
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
Brody
Brody•9mo ago
thanks for sharing!
danielo515
danielo515OP•9mo ago
You're welcome
Want results from more Discord servers?
Add your server