Rhys @rhys.dev · 05/11/2024All of the Reddit results it surfaces are old, anything newer than 3 months it doesn’t have 010
Rhys @rhys.dev · 02/11/2024There is one small improvement that could be made if they were using Next (probably possible in Remix too, don't know the implementation though) By using middleware.ts instead of doing the dynamic content in the page itself, their content would be able to be cached 110
Rhys @rhys.dev · 02/11/2024Loading the page from us-west it loads in 50ms-100ms Swapping my location with a VPN to Australia, the initial HTML takes 200-250ms to load This makes me think they're SSRing on the edge as if you compare those numbers to remix-on-the-edge.vercel.app/edge they're very similar 110
Rhys @rhys.dev · 02/11/2024Next up, the response headers what can we learn from those? They're SSRing each page load, you can tell this by how the age is 0 and the X-Vercel-Cache is MISS. Along with this, the site is hosted on Vercel meaning they're either using serverless functions or edge functions 120
Rhys @rhys.dev · 02/11/2024First, a quick look at the tech stack Wappalyzer says it's Next and Remix, inspecting the HTML payload which is what we care about, it's using Remix 120
Rhys @rhys.dev · 02/11/2024Small detail about the new Planetscale homepage, there's no pop in for their Sign in / Dashboard link, it's included in first HTML payload that's sent to the client A dive into how this works and why it's interesting (sub 50ms SSRing!) 161
Rhys @rhys.dev · 02/11/2024Have we considered replacing central park with a Minecraft bed wars map? 1298
Rhys @rhys.dev · 02/11/2024Bing is still not showing any new search results from Reddit Going on about 3 months now of no new content indexed 000
Rhys @rhys.dev · 31/10/2024Introducing Tenant Kit 🌐 A collection of documentation, components, and resources for building multi-tenant applications Starting things off with a shadcn Vercel custom domain configurator block, a full stack copy paste component that just works 6151
Rhys @rhys.dev · 27/10/2024One of my favorite patterns that doesn't get enough love is dataloader It allows you to fetch data like normal, but it automatically batches & caches the calls This allows you to fetch data from completely different locations in your app with the speed of one call 010