PERF007warningPro

no-cdn-configured

App Runner service detected without a CloudFront distribution — static assets are not edge-cached and clients are limited to HTTP/1.1.

Applies to: Project-level

Why this matters

AWS App Runner only serves HTTP/1.1. Browsers limit HTTP/1.1 to 6 concurrent connections per origin, so a page with 20+ JS chunks needs 3-4 serial download rounds. Adding a CloudFront distribution in front of App Runner enables HTTP/2 (unlimited multiplexing), edge caching for static assets, and global low-latency delivery.

Catch it before it ships

pip install stablestack # or: npx stablestackstablestack # scans your project, PERF007 includedstablestack explain PERF007

PERF007 is part of the Pro rule set. See pricing — the free tier ships 24 checks with no signup.

False positive in your codebase? Suppress a single line with # noqa: PERF007