From a53511bf51e261dae0038f7bc00e5d156b304f4a Mon Sep 17 00:00:00 2001 From: Jakub Zych Date: Fri, 6 Nov 2026 10:12:13 +0100 Subject: [PATCH] docs: the site's purge token is NUXT_CACHE_PURGE_TOKEN The layers renamed it from NUXT_SITE_CACHE_PURGE_TOKEN, which nuxt-site-config published in every page's payload. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index cfa18e8..51d8147 100644 --- a/README.md +++ b/README.md @@ -70,7 +70,7 @@ cors: ### Site cache -A FAQ create, update or delete in the admin sends one purge request (`{"kind":"faq","slug":""}`) to the host site after the save commits, through the framework's site-cache purger in `cooler`. Configure it once for the application with the framework keys `site_cache.purge_url` and `site_cache.purge_token` (`SUMMER_SITE_CACHE__PURGE_URL`, `SUMMER_SITE_CACHE__PURGE_TOKEN`); a site that extends `vue-faq-layer` 0.2.0 or later serves the matching route `POST /api/__site__/cache/purge` with `NUXT_SITE_CACHE_PURGE_TOKEN`. Without the keys nothing is sent. A save refused by the locale check sends nothing, and a failing or slow site never fails the save. +A FAQ create, update or delete in the admin sends one purge request (`{"kind":"faq","slug":""}`) to the host site after the save commits, through the framework's site-cache purger in `cooler`. Configure it once for the application with the framework keys `site_cache.purge_url` and `site_cache.purge_token` (`SUMMER_SITE_CACHE__PURGE_URL`, `SUMMER_SITE_CACHE__PURGE_TOKEN`); a site that extends `vue-faq-layer` 0.2.0 or later serves the matching route `POST /api/__site__/cache/purge` with `NUXT_CACHE_PURGE_TOKEN` (`vue-faq-layer` 0.4.0 or later; earlier layers read `NUXT_SITE_CACHE_PURGE_TOKEN`, which nuxt-site-config publishes in every page's payload). Without the keys nothing is sent. A save refused by the locale check sends nothing, and a failing or slow site never fails the save. ### Winter import