Description
There is a small TODO 'optimize this code'-Comment in ResourceHandlerImpl.isResourceIdentifierExcluded().
I saw (randomly) that and replaced it with the attached patch. It just saves the Array of exclude resource extensions instead of creating it newly on every method call.
Maybe it's worth replacing it.