You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Follow-up to #4404 (closed). The lazy-only config-table deferrals are done (#4407/#4408/#4409, ~330 KB raw off the eager path). What remains is a different, harder class: large data pinned eager by eager boot services, not by lazy consumers. Each needs a behavioral refactor (lazy-load the table out of a synchronous boot path), so each is /ce-plan-worthy with real regression surface — not a clean lazy-cache like the shipped tables.
⚠️Pursue only if a post-#4409 prod measurement shows a mobile LCP/TBT gap. If the ~330 KB already shipped hit the target, the risk here isn't worth it.
Sync surge / foreign-presence detection in the boot data-load cycle → empty until loaded. (Note: deferring the thin MILITARY_BASESexport alone is a ~2.6 KB no-op — the weight is here, via military-surge.)
proto IntelligenceServiceClient (src/generated/client/.../intelligence/v1/service_client.ts)
~42 KB
~10 eager consumers (country-intel, cached-risk-scores, gdelt-intel, satellites, correlation-engine, social-velocity, security-advisories, …) using different RPC methods
Follow-up to #4404 (closed). The lazy-only config-table deferrals are done (#4407/#4408/#4409, ~330 KB raw off the eager path). What remains is a different, harder class: large data pinned eager by eager boot services, not by lazy consumers. Each needs a behavioral refactor (lazy-load the table out of a synchronous boot path), so each is
/ce-plan-worthy with real regression surface — not a clean lazy-cache like the shipped tables.Targets
config/feeds.tsApp(source-cap / default-disabled),rss,correlation,breaking-news-alertsconfig/bases-expanded.ts(MILITARY_BASES_EXPANDED)data-loader → military-surge(findNearbyBases/analyzeFlightsForSurge/detectForeignMilitaryPresence)MILITARY_BASESexport alone is a ~2.6 KB no-op — the weight is here, via military-surge.)IntelligenceServiceClient(src/generated/client/.../intelligence/v1/service_client.ts)Out of scope (confirmed not deferrable)
panels.ts(~57 KB, panel-layout at boot),map-layer-definitions(~28 KB,sanitizeLayersForVariant()at App init),entities.ts(~20 KB, marginal + eager via cached-risk-scores).Approach when prioritized
/ce-planthe largest tractable target (likelyfeeds.tsvia a boot-critical/deferrable catalog split).dashboard.htmlmodulepreload, not imported bymain, 0 circular chunks) + runtime (the boot feature still populates) + the deferred path on Vercel preview where API-gated.