feat(19.3-04): shared site cache purge route POST /api/__site__/cache/purge

- server/lib/siteCachePurge.ts and the route, byte for byte from
  vue-faq-layer (sha256 pinned in tests/sitePurge.test.ts)
- runtimeConfig.siteCache.purgeToken (NUXT_SITE_CACHE_PURGE_TOKEN) and the
  '/api/__site__/**': { cache: false } route rule
- version 0.2.0
This commit is contained in:
Jakub Zych
2026-10-15 18:31:13 +02:00
parent 2deac88c0e
commit 3bc7729646
6 changed files with 264 additions and 3 deletions

View File

@@ -1,6 +1,6 @@
{
"name": "vue-menu-layer",
"version": "0.1.0",
"version": "0.2.0",
"private": true,
"type": "module",
"main": "./nuxt.config.ts",