4 ms·
At a high-level yes they are they same. IMO the difference is where the gating happens. Feature flags can be gated on clients or servers, but authorized feature
by zffr 4y ago
At a high-level yes they are they same. IMO the difference is where the gating happens. Feature flags can be gated on clients or servers, but authorized features must be gated on the backend to prevent leaking sensitive logic/data to clients.
- crdrost 4y agoA feature flag in general needs presence on both the frontend and backend because a change may coordinate between the two. More properly due to frontend caching issues an HTTP request should include a header with the active features, separately from the header containing the auth token. And that gives a first semantic difference: feature flags take effect when the app is updated/reloaded, auth changes take effect immediately.