UNPKG

@lucidcms/core

Version:

The core of the Lucid CMS. It's responsible for spinning up the API and serving the CMS.

2 lines 371 B
import{getNamespaceTokens as e,invalidateNamespaces as t}from"./namespaces.mjs";const n=e=>`http-cache:${e}`,r=async(t,r)=>{let i=await e(t,Array.from(new Set(r)).map(n)),a=r.map(e=>[e,i[n(e)]]);return Object.fromEntries(a)},i=async(e,r)=>{await t(e,r.map(n))};export{r as getHttpCacheNamespaceTokens,i as invalidateHttpCacheTags}; //# sourceMappingURL=http-cache.mjs.map