3 ms·
> The big idea is to write the comments as static HTML, only when comments change, instead of doing a database query to display them every time I'm using Cloud
by yawnxyz 4y ago
> The big idea is to write the comments as static HTML, only when comments change, instead of doing a database query to display them every time
I'm using Cloudflare to do this, and any kind of db updates will update the cache. I'm new to all this, but wouldn't this be spiritually the same, e.g. if the cache would serve the latest db content instead of hammering the db? (I'm doing this because I'm using Airtable as db, and it's incredibly slow, rather than a "hug of death" kind of scenario)