Cache Configuration
Use the cache block on new MonSQLize() to configure database read caching.
Options
Query TTL
Read caching is opt-in per query:
cache on a read option is a TTL in milliseconds. Omitting it means the query is not cached.
Write Invalidation Default
Writes do not invalidate read caches by default. Enable broad invalidation globally only when that tradeoff is acceptable:
For precise write paths, prefer per-write cache.invalidate. See Cache Invalidation.