Skip to content

Consolidate website documentation and prevent stale deployed assets - #65

Merged
prezaei merged 4 commits into
mainfrom
codex/website-asset-cache
Sep 14, 2026
Merged

prezaei merged 4 commits into
mainfrom
codex/website-asset-cache

Conversation

@prezaei

@prezaei prezaei commented Sep 14, 2026

Copy link
Copy Markdown
Member

Browsers could retain old styles and scripts for four hours after a website deployment. Generate content-hashed asset URLs so new HTML loads the matching assets. Validate those hashes and document the corrected Cloudflare build-watch pattern.

Make the website the main documentation destination. Link the root and six package READMEs to their API guides and remove duplicated reference explanations, retaining installation commands, short examples, lifetime notes, benchmarks, and contributor instructions.

Move the complete protocol specification to /docs/protocol/ and remove the old Markdown copy. Add an interactive queue illustration above the spec showing concurrent publisher reservations, paused publication and ordering, full capacity, receive/reuse, and circular buffer wraparound. Update all protocol links, navigation, sitemap, and metadata. The full specification remains available without JavaScript.

Validation:

  • Static build and ten-page link, metadata, sitemap, and asset validation pass.
  • Original protocol specification content preserved in full during conversion.
  • Browser checks cover paused-head ordering, completion, full capacity, wraparound, reuse, and reset.
  • Mobile and desktop layouts checked in light/dark mode; no-JavaScript specification verified.
  • Existing eight documentation URLs verified live; new protocol page will deploy after merge.

Point all getting-started and installation-guide links to the website, including language-specific package metadata for Cargo, NuGet, npm, and Python. Move C source-install instructions onto the C guide. Package registry links remain direct; metadata updates take effect on the next package release. Cargo metadata, package JSON/XML, static build, and site link validation pass.

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Sep 14, 2026

Copy link
Copy Markdown

Deploying cloudtoid with  Cloudflare Pages  Cloudflare Pages

Latest commit: 8c1e4d5
Status: ✅  Deploy successful!
Preview URL: https://32b22673.cloudtoid.pages.dev
Branch Preview URL: https://codex-website-asset-cache.cloudtoid.pages.dev

View logs

@prezaei prezaei changed the title Prevent stale website styles and scripts after deployment Refresh website assets reliably and consolidate API documentation Sep 14, 2026
@prezaei prezaei changed the title Refresh website assets reliably and consolidate API documentation Consolidate website documentation and prevent stale deployed assets Sep 14, 2026
@prezaei
prezaei merged commit 596bba5 into main Sep 14, 2026
13 checks passed
@prezaei
prezaei deleted the codex/website-asset-cache branch September 14, 2026 22:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant