Skip to content

feat: add CMS data cache layer - #92

Draft
glitchedmob wants to merge 2 commits into
methodconf-svelte/foundationfrom
methodconf-svelte/data-cache
Draft

glitchedmob wants to merge 2 commits into
methodconf-svelte/foundationfrom
methodconf-svelte/data-cache

Conversation

@glitchedmob

@glitchedmob glitchedmob commented Oct 4, 2026 •

Copy link
Copy Markdown
Member

Ports the CMS data access layer into SvelteKit server modules and adds the bounded public JSON cache that replaces Next revalidation.

  • Moves CMS clients, data loaders, config, generated API types, and shared pure helpers into #lib paths with server-only code under src/lib/server.
  • Adds an in-process allowlisted CMS JSON GET cache with 60-second freshness, stale-while-revalidate, cold request coalescing, hard stale expiry, bypass rules, and detached response bodies.
  • Keeps Umbraco v18 type normalization and converts Chicago-local date parsing to plain Date instants for SvelteKit serialization.
  • Updates OpenAPI generation output paths and root page policy loading to use the shared server config.

@glitchedmob
glitchedmob added this pull request to stack #93 October 4, 2026 05:49
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