Performance: Spring Security auto-configuration
MEDIUM IMPACT
This affects the initial page load speed and backend response time by adding security filters and processing overhead.
Customize security configuration to exclude static resources and disable CSRF where not needed, reducing filter chain length.
spring-boot-starter-security dependency added with no customization, enabling all default filters and CSRF protection on all endpoints.
| Pattern | DOM Operations | Reflows | Paint Cost | Verdict |
|---|---|---|---|---|
| Default auto-configuration with all filters | N/A (server-side) | N/A | Increases backend response delay | [X] Bad |
| Customized security config excluding static resources | N/A (server-side) | N/A | Reduces backend response delay | [OK] Good |