a month ago
Hi, so I noticed Railway now has pushed Edge CDN to GA.
I was wondering, if I already have Cloudflare as my CDN (with very specific rules set up), would it be wise to also set up Railway CDN similarly? I have heard that stacking CDN on top of one another is not a good practice, but idk, what do you guys think?
Also, is there an API for me to programmatically purge the cache, and does it allow batch sending of URLs or wildcards like how Cloudflare allows you to purge by URL/Hostname/Tag/Pattern Prefix
6 Replies
a month ago
Railway now routes you to the closest PoP (Point of Presence) so your request enters the internal network faster
You can definitely keep Cloudflare proxied on, if anything, it might further reduce latency
a month ago
oh so both between CF and Railway? INteresting
a month ago
yeah If that is the case I need the API to purge
a month ago
Railway's edge is Railway, it's always on
a month ago
Yeah I know it's always on, but I have disabled the cache feature on the service settings. Just wanted to know if I should also enable it so I have both caches on Railway AND Cloudflare, or leave it disabled so it's just Cloudflare only
a month ago
I recommend Cloudflare-only, more customizability, more PoPs to cache to