Skip to content

v2.3.1

Choose a tag to compare

@Zingzy Zingzy released this 29 Aug 22:38
· 46 commits to main since this release
f5fd496

A fix for the link preview checker, plus the deployment config it runs on.

Meta tags on very large pages. The checker read the first 512KB of a page on the assumption that tags sit early in the head. Youtube puts roughly 700KB of inline JSON before its meta tags, so the read stopped short and the tool reported a page with nine missing tags rather than one it could not finish reading. The fetch now ends at </head> with the byte cap kept as a backstop, which also makes ordinary pages cheaper to read than before: github closes its head at 32KB, nytimes at 190KB.

Deployment config. The Caddyfile, compose file and vector config in this repo had drifted from what runs in production, missing the frontend container entirely. They now match, so the deployment is reviewable and recoverable from git. Part of that: the spoo.me name moved from a network alias to the frontend container's hosts file, so the app resolves its own domain publicly and the link tools can fetch spoo.me URLs.

What's Changed

  • chore(compose): sync the prod file and scope the spoo.me name to the frontend by @Zingzy in #326
  • chore(vector): ship the frontend container's logs by @Zingzy in #327
  • fix(metadata): read to the end of the head, not a fixed prefix by @Zingzy in #328

Full Changelog: v2.3.0...v2.3.1