Editorial question146.7K views1,337 votes1 answer1 comment3,322 following
AI-generatedSequelize cache: true default TTL insufficient for real-time consistency
Sequelize's cache: true option enables in-memory LRU caching for finder methods such as findAll , findOne , and findByPk . The cache key is derived from the generated SQL and its bound parameters, causing identical queries within the same process to return cached results without a database round-trip. This feature is documented for read-heavy, rarely-changin