
Building https://nitter.gq/t.co/TmUKm0blW0
Nearby
Joined December 2025
- Tweets529
- Following361
- Followers68
- Likes1.8K
Pinned Tweet
Liquid Glass 27 for the web, as React components.
Left is native iOS 27. Right is liquidglass.
npm install @onlymoein/liquidglass
github.com/onlymoein/liquidg…
What a weird feature Claude Code just added called “Safeguards.” It wouldn’t even let me run my CLI command. wth?
1
2
86
Teach your coding agent Apple's Liquid Glass on Web.
npx skills add onlymoein/liquidglass
Real iOS 27 glass in React: switches, sliders, menus, tab bar.
Your agent stops stacking glass on glass.
2
7
602
Bots hit /item/999999 over and over. It doesn't exist, so nothing is cached and every request hits your DB.
Broken:
not found → return null
Fixed:
cache a "not found" sentinel, TTL 10–120s
delete it when the ID is created
What does your cache do with a miss?
1
60
Same idea at the CDN: if bots hammer missing URLs, a 404 can carry max-age=60. Purge it when the page gets created.
5xx is different: no-store, and let stale-if-error serve the last 200. It covers 500, 502, 503 and 504, never 404.
1
11
Your hottest cache key expires under load. Every request misses at once and hits your DB.
That's a stampede. A longer TTL only moves it.
Broken:
miss → everyone loads
Fixed:
single-flight per key
+ serve stale, refresh once
+ TTL jitter ±10%
What guards your hottest key?
1
1
84
Same family: an error is not a miss.
Facebook's 2010 outage started when clients deleted cache keys on DB errors, a loop that kept the DB down about 2.5 h. Keep the old value, mark it stale, serve it.
1
16
Your dashboard sends no-cache. Safe at the CDN?
Not quite. Shared caches collapse concurrent identical requests, even on no-cache. Per-user pages need private.
Broken:
Cache-Control: no-cache
Fixed:
Cache-Control: private, no-cache
+ ETag
What does your account page send?
3
2
64
The tempting fix is Vary: Cookie. Don't.
With analytics cookies in the mix it's effectively Vary: *, so nothing hits. Send private instead, or strip cookies at the edge on public paths.
5
Only part of the page is per-user? Don't make the whole thing private.
The skill splits it: a public shell that can cache, and a private island (client fetch, PPR, 'use cache: private', ESI). It also strips Set-Cookie from the shell.
1
27
My homepage budget was 60s. The first caching plan said:
app 60 + edge 60 + SWR 300 = 420s worst case
Tiers stack when each refills from a stale one below. The validator caught it. Fixed: edge 20 + SWR 10 + app 30 = 60s.
Ever added TTLs across tiers?
2
1
118





