Skip to content

fix(rules): bad-caching-validators blames Cloudflare when the origin sent Cache-Control: no-store #1754

Closed

Description

@nc9

Fault no-cache-validators on the public demo site nutshop.squirrelscan.com (repo squirrelscan/nut-shop): the Worker sends Cache-Control: no-store and no ETag or Last-Modified on HTML. Run 01M759PV7TNEQDYXMRQS4HWTA3 reports perf/bad-caching check bad-caching-validators, warn: "71/71 pages lack an ETag or Last-Modified validator. 71 of them came through Cloudflare, which may drop the ETag from HTML it rewrites with Email Address Obfuscation, Automatic HTTPS Rewrites...". The finding is right, but the explanation points at Cloudflare rewrite features when the response says no-store (visible in curl), and bad-caching-freshness (info) says "no caching policy" although Cache-Control: no-store is a policy.

Acceptance Criteria

  • When the response carries Cache-Control: no-store, the message says so and does not suggest Cloudflare dropped the validator.
  • bad-caching-freshness distinguishes "no policy" from "no-store".

Activity

  1. added
    bug
    size: XS
    rules
    on Nov 11, 2026
  2. added theissue type on Nov 11, 2026
  3. nc9 commented on Nov 12, 2026

    @nc9
    ContributorAuthor
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

    bugrulessize: XS

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions