PageSourceSearch

https://www.allwage.com/_next/static/chunks/pages/admin/cache-25d2aa0c388e2bdb.js

js allwage.com collected 2026-10-09 22:39:29 UTC 3,873 bytes, 1 lines download raw bytes

1!function(){try{var e="u">typeof window?window:"u">typeof global?global:"u">typeof globalThis?globalThis:"u">typeof self?self:{};e._sentryModuleMetadata=e._sentryModuleMetadata||{},e._sentryModuleMetadata[(new e.Error).stack]=function(e){for(var a=1;a<arguments.length;a++){var s=arguments[a];if(null!=s)for(var n in s)s.hasOwnProperty(n)&&(e[n]=s[n])}return e}({},e._sentryModuleMetadata[(new e.Error).stack],{"_sentryBundlerPluginAppKey:allwage-marketing-website":!0});var a=(new e.Error).stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="8aa503a2-9b6e-47d4-8752-ac565ce0a450",e._sentryDebugIdIdentifier="sentry-dbid-8aa503a2-9b6e-47d4-8752-ac565ce0a450")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[822],{45737:(e,a,s)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/admin/cache",function(){return s(64537)}])},64537:(e,a,s)=>{"use strict";s.r(a),s.d(a,{default:()=>o});var n=s(6029),t=s(95669),l=s.n(t),r=s(55729),i=s(48289),d=s(41188),c=s.n(d);function o(){var e,a,s,t;let[d,o]=(0,r.useState)(null),[h,u]=(0,r.useState)("Ready."),[v,p]=(0,r.useState)(!1),[f,g]=(0,r.useState)(!1),j=async()=>{if(!window.confirm("Force revalidation for every generated site route?"))return;g(!0),u("Revalidating site...");let e=await fetch("/api/internal/cache/revalidate",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({scope:"all",purgeVercelCdn:v})});o(await e.json()),g(!1),u(e.ok?"Revalidation finished.":"Revalidation finished with errors.")};return(0,n.jsxs)("main",{className:c().adminShell,children:[(0,n.jsx)(l(),{children:(0,n.jsx)("title",{children:"Cache | AllWage Admin"})}),(0,n.jsx)(i.DH,{active:"cache",subtitle:"Refresh generated pages and optionally invalidate Vercel CDN cache.",title:"Cache"}),(0,n.jsxs)("section",{className:`${c().panel} ${c().cachePanel}`,children:[(0,n.jsx)("div",{className:c().metaGroupHeader,children:(0,n.jsxs)("div",{children:[(0,n.jsx)("h2",{children:"Site revalidation"}),(0,n.jsx)("span",{children:"Use this after broad content or media changes."})]})}),(0,n.jsxs)("div",{className:c().cachePanelBody,children:[(0,n.jsx)("p",{className:c().muted,children:"This regenerates every known ISR route from repo content. It does not change Git files."}),(0,n.jsxs)("label",{className:c().checkboxRow,children:[(0,n.jsx)("input",{checked:v,onChange:e=>p(e.target.checked),type:"checkbox"}),(0,n.jsx)("span",{children:"Also invalidate the Vercel CDN cache for the project"})]}),(0,n.jsxs)("div",{className:c().toolbar,children:[(0,n.jsx)("button",{className:c().dangerButton,disabled:f,onClick:j,type:"button",children:f?"Revalidating...":"Force entire site"}),(0,n.jsx)("span",{className:c().muted,children:h})]})]})]}),d&&(0,n.jsxs)("section",{className:`${c().panel} ${c().cacheResultPanel}`,children:[(0,n.jsxs)("div",{className:c().metaGroupHeader,children:[(0,n.jsx)("h2",{children:"Last result"}
1),(0,n.jsxs)("span",{children:[(null==(e=d.revalidated)?void 0:e.length)||0," routes refreshed"]})]}),(0,n.jsxs)("div",{className:c().cachePanelBody,children:[(null==(a=d.vercelCdn)?void 0:a.skipped)===!1||(null==(s=d.vercelCdn)?void 0:s.status)?(0,n.jsxs)("p",{className:d.vercelCdn.error?c().invalid:c().valid,children:["Vercel CDN: ",d.vercelCdn.error||`invalidated (${d.vercelCdn.status})`]}):(0,n.jsxs)("p",{className:c().muted,children:["Vercel CDN purge skipped",(null==(t=d.vercelCdn)?void 0:t.error)?`: ${d.vercelCdn.error}`:"."]}),d.failed&&d.failed.length>0&&(0,n.jsxs)("div",{className:c().invalid,children:[d.failed.length," route",1===d.failed.length?"":"s"," failed."]}),(0,n.jsx)("pre",{className:c().cacheRouteList,children:(d.revalidated||[]).join("\n")||"No routes revalidated."})]})]})]})}}},e=>{e.O(0,[7993,8520,3735,4293,5495,744,6996,540,2828,6069,4448,7610,9733,478,5279,7275,9119,8289,636,9905,8790,8792],()=>e(e.s=45737)),_N_E=e.O()}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.