redesign 08 — syndication & perf (JSON feed, sitemap, OG) #13
Loading…
Reference in a new issue
No description provided.
Delete branch "redesign/08-syndication-perf"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What
Slice 8/9 of the selected redesign (base: #12). Syndication, metadata, performance.
/feed.json— shares onebuild_feed_items()with RSS so they never drift: fullcontent_html, absolute segment-aware URLs, RFC 3339 dates, images, tags./blog/…in the feed (they live at/broadcasts/…); URLs are now segment-aware and enclosure URLs absolute. Two#[tokio::test]s assert full-text presence + absolute URLs for both feeds (audits real_posts/).lastmod);robots.txtreferences it.article:published_time(ISO 8601),article:tag,twitter:card=summary_large_image,twitter:image.loading="lazy" decoding="async"on all content images (markdown pictures, thumbnails, cards, article covers); homepage hero eager +fetchpriority="high"(new param, test covers both paths).Caddyfile-preview: assetsmax-age=604800+ etag revalidation, HTMLno-cache; the year-longimmutableremoved (filenames are size-suffixed, not hashed — returning visitors could hold stale assets). ⚠️ Production Caddy on katelyn needs the matching header change at deploy time.Preview: https://redesign-08-syndication-perf.dev.michalvanko.dev — see
/feed.json,/sitemap.xml,/robots.txt, any article's<head>.d6430cb89117bc0bf73517bc0bf7357969d0c5877969d0c587e360228b1ce360228b1cd886a653dad886a653da499da590ea499da590eaaad70e4681WIP: redesign 08 — syndication & perf (JSON feed, sitemap, OG)to redesign 08 — syndication & perf (JSON feed, sitemap, OG)