2 years ago
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?
16 Replies
2 years 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
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?

2 years ago
how does it break the site?
2 years ago
please see this docs section
It worked. Just by activating this it went from 95 score to 98 ok page rank, and feels much faster
2 years ago
awesome, may i ask what kind of site you are hosting on railway? 🙂
2 years ago
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
2 years ago
thanks for sharing!