...
Need to be careful about caching.
Alternate between resources based on feature flags
Resource A is visible only if SomeFeature is not active.
Resource B is visible only if SomeFeature is active.
A and B are never visible simultaneously.
Having to create multiple related features for that would be a pain.
This is basic A/B testing and also applies to soft launching a new feature (B) that replaces an existing one (A).
The constraints of the show/hide resources use case above also apply here.
Alter Resource rendering
Can be achieved transparently by hiding rendering scripts and servlets.
...