4 ms·
I think this depends on the application. For a complex spa, sure. But for something like a news site or social media the extra load time feels horrible. It's pr
by zeroCalories 3y ago
I think this depends on the application. For a complex spa, sure. But for something like a news site or social media the extra load time feels horrible. It's preferable to use server side rendering as much as possible. That also means you gotta speed up your database queries, which is where techniques like in the OP come into play.
- tracker1 3y agoEven for mostly static, edge can add a cache layer, and also do doughnut rendering for sites... By doughnut rendering, I mean you can displace certain static placeholders with user-level content... such as replacing the "login" section of the header with the markup for the User's name and profile image. These are both common use cases for Cloudflare Workers. Not just for complex compute but for near-line cache and simple transforms.