> > The global one basically just provides access to the raw request while the > Sling-embedded one also provides access to the SlingHttpServletRequest as > well as the request's ResourceResolver. > > Ah right, because you don't have the resolver in the global filter...but this means that all flags are tested twice if they're active on every request. Being able to use feature flags outside of Sling looks nice, but ... to quote "someone" :) ....yagni for now
If want to have this two step setup, we should switch to lazy evaluation of the flags on first access. Carsten -- Carsten Ziegeler [email protected]
