Web performance patterns — lazy loading, bundle optimization, query optimization, compression, and resource management
81
77%
Does it follow best practices?
Impact
97%
3.23xAverage score across 3 eval scenarios
Passed
No known issues
Routes are lazy-loaded
0%
100%
Suspense with fallback
0%
100%
Direct component imports not barrel exports
100%
100%
Sidebar layout does not import page content
100%
100%
No heavy library imports for simple tasks
100%
100%
TypeScript types used
80%
100%
Functional separation of layout and pages
100%
100%
Customer orders endpoint is paginated
0%
100%
No N+1 queries for order items
0%
100%
Compression middleware enabled
0%
100%
Connection pooling configured
100%
100%
Foreign key indexes on order_id and customer_id
50%
0%
Graceful shutdown closes database connections
0%
100%
Pagination metadata in response
0%
100%
Max limit capped
0%
100%
Total computed in SQL or efficiently
100%
100%
Products endpoint is paginated
0%
100%
No N+1 queries
100%
100%
Compression middleware enabled
0%
100%
Routes are lazy-loaded
0%
100%
Suspense with fallback
0%
100%
Product images use loading=lazy
0%
100%
Images have width and height
0%
100%
Pagination metadata in response
0%
100%
Foreign key index on category_id
100%
100%
Table of Contents