Skip to content

perf: flag large framework data payloads on static pages #1143

Closed

Description

@nc9

Source: same write-up. A static or text-only page that still ships a framework data payload pays for it twice (HTML plus JS).

Acceptance Criteria

  • New info-level check (or extension of an existing perf rule) flags __NEXT_DATA__, __NUXT__, and similar inline state JSON above a size threshold on pages with little interactivity
  • Threshold chosen from a smoke run over real sites; no false positives on interactive apps documented in the PR
  • If it is a new rule: the full four-file rule recipe (rule, docs, catalog, counts) is followed
  • Rule docs and tests added in the same PR; PR says whether the squirrelscan skill needs a change

Activity

  1. added
    enhancement
    size: S
    rules
    on Oct 26, 2026
  2. added theissue type on Oct 28, 2026
  3. nc9 commented on Oct 30, 2026

    @nc9
    ContributorAuthor

    Shipped in v0.0.143 (commits 0874e62, aefda9b, 78430d3, a7ddb52). Checked every acceptance criterion against current main: perf/framework-data-payload with thresholds from a smoke run, interactive-app negatives, docs and tests; the PR states the skill needs no change.

    nik

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementrulessize: S

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions