Skip to content
Better HN
Top
Best
Ask
Show
New
Jobs
Search
⌘K
0 points
nfRfqX5n
6y ago
0 comments
Save
Share
why couldn't you cache it?
0 comments
3 comments · 1 top-level
top
newest
oldest
doque
6y ago
· 2 in thread
Because it could be personalized content that differs for each request/user.
dbbk
6y ago
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.
doque
6y ago
Which is the reasonable way to do it. However, uncacheable things might remain.
1 more reply
j
/
k
navigate · click thread line to collapse