Webhooks for the AT Protocol airglow.run
atproto atprotocol automation webhook
12
fork

Configure Feed

Select the types of activity you want to include in your feed.

perf: improve chaching

Hugo e16fb42c 6ad48028

+9
+9
app/routes/index.tsx
··· 51 51 const user = await getSessionUser(c); 52 52 const topLexicons = await getTopLexicons(); 53 53 54 + // Edge-cache the anonymous landing at Fastly. Vary: Cookie keeps authenticated 55 + // variants keyed separately; private/no-store stops the auth'd variant from 56 + // ever being shared. 57 + c.header("Vary", "Cookie"); 58 + c.header( 59 + "Cache-Control", 60 + user ? "private, no-store" : "public, s-maxage=300, stale-while-revalidate=3600", 61 + ); 62 + 54 63 return c.render( 55 64 <AppShell header={<Header user={user} actions={<ThemeToggle />} />}> 56 65 {jsonLd}