4 ms·
Whats the point of building & caching static pages if every single user gets their own static page... The number of users who will request each page is 1?
by ericmcer 1y ago
Whats the point of building & caching static pages if every single user gets their own static page... The number of users who will request each page is 1?
- nchmy 1y agoI dont think that's what they're doing. They seemingly cache some common templates and then fill in the dynamic placeholders per-request. So, their new architecture that has some sort of distributed in-memory cache allows for doing so much more efficiently than, presumably, doing the same queries over the network. The way I understand it, its essentially just a fancy SSR.
- JamesSwift 1y ago> cache some common templates and then fill in the dynamic placeholders per-request Otherwise known as server-side includes (SSI)
- nchmy 1y agoNot necessarily - SSI/ESI do http requests for each placeholder and fill it with an HTML fragment. They may just be doing some templating of whatever sort, from the kv store.