Resolve each handler's platform annotation once

PerformanceSecurityService
Shipped
August 15, 2026 at 1:30 AM UTC
Author
Kamo
Commit
d15f1bc

The interceptor is registered for /** so the annotation lookup ran on every request this service serves, sign-in included, and AnnotatedElementUtils walks the method, its class and their meta-annotations each time. The answer cannot change while the process lives; cache it per handler method, absent included, since "no annotation" is the common case.

All changes

Like what you see shipping?

Every one of these updates lands in your workspace automatically. Start free and watch it grow week after week.

Start Free ForeverView Pricing