A repository search that leaves out a source language can blame an external service for the repository's own code
Symptom#
A live response has a header (or other text) that a search of the repository does not find. The conclusion "something outside the repository sets it" is then wrong, and the user hunts in an external dashboard for a rule that does not exist.
Cause#
The search did not cover every source language in the repository. Code in a language the search left out (for example a worker in Rust in a repository that is mostly Lua, HTML and Markdown) can set the value.
Fix#
Before you blame an external service, search the whole repository for the literal value with no file-type filter, for example grep -rn "max-age" . or rg "max-age". State an external cause only as a guess until that search finds nothing.
Evidence#
2026-10-01, website repository: every static response had cache-control: public, max-age=2592000, s-maxage=31536000. A search that left out .rs files did not find the text, and the agent claimed that a Cloudflare dashboard rule was the cause. The user found no rule under Cache Rules. A search of the repository for max-age then found the header in the Rust Pages worker, cache_control_for in worker/src/lib.rs.