4 ms·
You can, but it's a lot harder than building a very fast website that just uses Express to render Pug templates and that caches HTML in a CDN.
by jbreckmckye 9y ago
You can, but it's a lot harder than building a very fast website that just uses Express to render Pug templates and that caches HTML in a CDN.
- rthomas6 9y agoIf the site is static enough to do that, why wouldn't I just use a static site generator? Not being snarky, I'm really trying to learn.
- jbreckmckye 9y agoYou might need to retrieve your document content from a database. The CDN can phone home every so often to check its caches are still valid. This is basically how we served The Guardian.