Joshua Shay Kricheli NeuroSymbolic AI
v2 v1

Release · v3.14.34

Cache-bust scripts with the revision, not a SHA run…

fix(assets): cache-bust scripts with the revision, not a SHA run through a date

fix v3.14.34 August 18, 2026 Joshua Shay Kricheli d4dc4c0

Details

`js_tag.html` read:
    site.github.build_revision | default: site.time | date: '%s'
which reads as "the revision, or the build time as a unix stamp" but does not
mean that. Liquid applies `date` to whatever `default` returned, so the revision
itself went through the date filter. A SHA is not a date, so the emitted version
was neither: `?v=1787443200` on a build whose revision was 9cb2eff.
It changed per build, so it busted caches by accident while carrying no meaning
— and it disagreed with the stylesheet tags, which append
`site.github.build_revision` directly. Scripts and styles on the same page were
versioned differently, so a shared cache could hold one and not the other.
Now resolved in an `if`, so the format only applies to the fallback. Verified
both paths: with metadata the scripts carry the same 40-character revision as
the stylesheets, and without it the fallback still produces a value.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DAJJ63FFnLoD5XLpu6yJaG

Files changed (1)

frontend/jekyll/_includes/js_tag.html +19 −1