logoalt Hacker News

nickgrayyesterday at 3:35 PM1 replyview on HN

Thank you! I need to tighten up my KV compression, which is actually carrying a lot of D1's load otherwise. We also had some bad queries some months, as the pages and database grew, that were counting the wrong things (or extremely inefficiently) and those have since been fixed.


Replies

maxclarktoday at 12:31 AM

How often does your data change?

If infrequent you could cache the generated page and not query D1 for subsequent requests at all.