Skip to content

feat(seo): describe the site in the home title, cache hashed assets, date the sitemap - #328

Merged
matschik merged 1 commit into
mainfrom
feat/seo-quick-wins
Oct 19, 2026
Merged

matschik merged 1 commit into
mainfrom
feat/seo-quick-wins

Conversation

@matschik

Copy link
Copy Markdown
Owner

Requested by Mathieu

Before: the home page title was only "Component Party", hashed JS and CSS files were served with max-age=0, and the sitemap had no dates.

After: the home title reads "Component Party – Compare JavaScript Frameworks Side by Side", files under /_app/immutable/ are cached for a year, and each sitemap URL has a <lastmod>.

How: the title lives in src/routes/+page.svelte; static/_headers is copied to dist/ and applied by Workers Static Assets; the sitemap route reads BUILD_DATE.

…date the sitemap

- The home <title> and og:title say what the site does, not only its name.
- static/_headers gives /_app/immutable/* a year of immutable cache.
- Every sitemap URL carries the build date as <lastmod>.
@matschik
matschik merged commit 037aea5 into main Oct 19, 2026
2 checks passed
@matschik
matschik deleted the feat/seo-quick-wins branch October 19, 2026 01:43
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