News for hackers. Stuff that matters.
Re:Why People Aren't Deploying to Vercel Anymore by zelphirkalt on Monday April 24, 2023 @07:47AM (#35686401)
Why are they not using caching? Does a component have to be rendered differently for each and every visitor? Is there anything that makes caching impossible? In the end it is just a bunch of HTML, CSS and JS being delivered to a browser somewhere. Why is it hard to cache properly?
Re:Why People Aren't Deploying to Vercel Anymore by DanielHB on Monday April 24, 2023 @07:58AM (#35686507)
client-rendered SPAs can cache the delivery of JS/HTML/CSS and have only raw data requests be optionally-cacheable

server-rendered SPAs mix JS/HTML/CSS with data meaning that if the data served by a request is not cacheable, nothing is

when a page has data that is tied to a specific user it becomes very hard to have cache-hits, at least of the dirty-cheap CDN kind of caching type

Re:Why People Aren't Deploying to Vercel Anymore by nfRfqX5n on Monday April 24, 2023 @08:03AM (#35686562)
caching costs money too though