Skip to content

v1.0.1 — Complex cache content-negotiation fix

Choose a tag to compare

@adityaarsharma adityaarsharma released this 27 May 05:05
· 2 commits to main since this release

Patch release — fixes Accept: text/markdown negotiation on Cloudflare/Varnish/Fastly-cached sites.

What's fixed

  • Cloudflare-CDN-Cache-Control: no-store auto-emitted on markdown requests. Markdown bypasses CDN cache, reaches origin, returns correct content-type. HTML requests still cache normally.
  • Cloudflare Cache Rule snippet added to Settings → Diagnostics → Server/CDN bypass snippets. Copy-paste into Cloudflare dashboard → 2-minute fix for any site running CF.
  • New diagnostic probe — "Accept: text/markdown end-to-end" — hits your live homepage with markdown Accept header and reports any cache layer overriding the content-type.

End-to-end verified

  • ✅ Passes acceptmarkdown.com on properly configured stacks
  • ✅ Passes isitagentready.com
  • ✅ RFC 9110 §12 q-value parsing — text/html;q=1.0 beats text/markdown;q=0.5
  • ✅ 99.5% byte reduction on typical posts (71KB HTML → 374B markdown)

Install

Download from WordPress.org → (auto-updates) or grab the zip below.