mminella/grails-feature-toggle — comment on commit 2513e565dcc8e554094d216990350a64d7d351fd
File: grails-app/conf/grails/feature/toggle/filters/FeatureToggleFilters.groovy line 9
By ryannorris:

So it's a bit expensive to do the reflection on every request like this. It would be preferable to cache this. Additionally, I wouldn't do it with a filter - I would likely want to do this at BootStrap