Koishi Database Cache Plugin

JSON →
library 2.1.0 ·javascript
verified May 27, 2026

koishi-plugin-cache-database provides a persistent caching service for Koishi chatbots, leveraging an underlying database backend to store and retrieve data. This allows bot applications to maintain state across restarts and scale more effectively than in-memory caching solutions. It is currently at version `2.1.0` and follows Koishi's rapid release cadence, which aligns with major Koishi framework updates (currently Koishi v4.x). Key differentiators include its tight integration with the Koishi `Context` system, offering a database-agnostic interface for caching while requiring a separate Koishi database plugin (e.g., SQLite, MySQL, PostgreSQL) to be configured. This plugin is part of the extensive Koishi ecosystem, which is primarily developed in TypeScript, providing strong type safety and developer tooling. Unlike simpler in-memory cache plugins, this solution ensures data persistence, making it suitable for applications requiring durable state management.

total hits 25
actors 9 distinct systems
last hit 1d ago human
ByteDance
5
Amazonbot
4
MetaBot
4
GPTBot
2
Script
1
Search engines
2
Humans
2

top countries 🇺🇸 United States · 🇸🇬 Singapore · 🇨🇦 Canada · 🇮🇹 Italy · 🇳🇴 Norway