KamoCRM

Resolve each handler's platform annotation once

PerformanceSecurityService
Shipped
15 ஆகஸ்ட், 2026 அன்று 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?

All of it arrives in your workspace on its own. Start on the free plan and read this page again in a month.

Start Free ForeverView Pricing