do http compression at proxy level?
Anonymous
TRIALOP

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

Anonymous
TRIALOP

2 years ago

N/A


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


Anonymous
TRIALOP

2 years 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


Anonymous
TRIALOP

2 years ago

Nope, this breaks the site. Anyone had specific instructions for something like this?

1219005039465463800


2 years ago

how does it break the site?


Anonymous
TRIALOP

2 years ago

I suddenly got "too many redirects"


2 years ago

please see this docs section


Anonymous
TRIALOP

2 years ago

Will do, thanks


Anonymous
TRIALOP

2 years ago

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? 🙂


Anonymous
TRIALOP

2 years ago

My wedding website . Information about when and some area for guests


2 years ago

cool, what kind of tech stack?


Anonymous
TRIALOP

2 years ago

Astro + Lucia + Postgres . Most astro islands are powered by svelte and real time features by supabase


Anonymous
TRIALOP

2 years ago

S3 for file related things.
I started using Vercel blob and Vercel Postgres, but they are too limited


2 years ago

thanks for sharing!


Anonymous
TRIALOP

2 years ago

You're welcome


Loading...