Jeff Posnick
banner
jeff.posnick.org
Jeff Posnick
@jeff.posnick.org
Doing JS/TS stuff at Bloomberg Engineering.

https://jeffy.info
Banh you.
November 6, 2025 at 9:05 PM
What is yellow journalism?
October 24, 2025 at 1:01 PM
Yeah, caching strategies really should be customized for each use case, which unfortunately made it tough to provide one-size-fits-all guidance (back when that was my job).
October 20, 2025 at 12:33 PM
Reposted by Jeff Posnick
I did build SWTL in the meantime though, which (my blog is also built with SWTL: passle.dev) does exactly what OP describes and runs both on the server and in a service worker

github.com/thepassle/swtl
GitHub - thepassle/swtl: A Service Worker Templating Language (swtl) for component-like templating in service workers. Streams templates to the browser as they're being parsed, and handles rendering i...
A Service Worker Templating Language (swtl) for component-like templating in service workers. Streams templates to the browser as they're being parsed, and handles rendering iterables/Responses...
github.com
October 19, 2025 at 1:17 PM
FWIW, about half the articles I've written at jeffy.info are about how to think about caching for this use case 😀
thirty-four
thirty-four is crafted with love in Brooklyn, by Jeff Posnick.
jeffy.info
October 19, 2025 at 3:01 PM
I’ve been out of this space for a while now, but I know @passle.dev put some effort into it with @astro.build. See github.com/withastro/ro..., for instance.

(Don’t know where things landed, though.)
Service Worker Side Rendering · withastro roadmap · Discussion #188
This weekend I worked on a bit of a crazy PoC to see if I can run Astro in a service worker, and it turns out that you totally can: astro-sw.mov This is huge, because: Your Astro apps are now avail...
github.com
October 19, 2025 at 12:21 PM
I'm biased, but sure?
September 30, 2025 at 1:19 AM
bakewell
flapjacks
September 28, 2025 at 5:17 PM