This message was deleted.
# announcements
w
This message was deleted.
f
Are you using a static site generator?
One approach I've seen for huge rewrites/infrastructure changes is to basically do a Canary deployment. Deploy the new version to a subdomain and route to it at the edge/CDN level based on a feature flag. It's not a long term or super scalable approach, but it's good for testing big changes for a short period of time before committing or rolling back.
m
@future-teacher-7046 Would this article apply to Erik's question, given your proposed solution above?
e
Yeah @future-teacher-7046, we use Nuxt in static mode, that means static generation. I thought about the subdomain trick with an automated redirect based in the feature flag value, but I just felt it would be wrong... I mean, the old application will open for some time while the feature flags are loading, then users will need to wait for the redirect, a very flashy behavior. But maybe it's the unique way really.
f
I would avoid a redirect if you can and instead do the routing at the edge. So the user would see the same URL in their address bar, but the server it would point to would change based on the feature flag.
178 Views