Hacker News new | ask | show | jobs
by nfRfqX5n 2276 days ago
why couldn't you cache it?
1 comments

Because it could be personalized content that differs for each request/user.
You could take a mixed approach. Server render non-stateful stuff, restrict user state to client-side only. You can then CDN cache the public stuff.
Which is the reasonable way to do it. However, uncacheable things might remain.
Uncacheable things are always reserved to the client side only