2 ms·
First, there are people that don't want to use a CDN (don't trust them with censorship), or can't (local network). But you can cache other things that are not
by BiteCode_dev 5y ago
First, there are people that don't want to use a CDN (don't trust them with censorship), or can't (local network).
But you can cache other things that are not the entire page itself:
- database queries
- user sessions
- api calls
- page fragment
- function memoization
What's more, cache backends have the ability to expire things, which can be helpful for all sort of stuff.