Sign in Sign up
packagist

coco-project/sql-cache

Based on the lexical analysis of "update," "select," "insert," and "delete" SQL statements, an automatic caching strategy is implemented. The strategy involves caching the data when executing a select operation and associating the table name contained in the SQL statement with the corresponding cached records. When executing update, insert, or delete operations, the table name from the SQL statement is extracted, and any cached records containing this table name from previous select operations are deleted. This strategy enables seamless caching without delay and eliminates the need to worry about data synchronization issues. It is particularly effective for tables with infrequent data modifications. For tables with frequent modifications, they can be ignored by configuring the strategy accordingly.

Latest release
Apr 28, 2026
Releases
6
Known CVEs
0
First release
Nov 03, 2023
License
MIT
Repository

Source

coco-projects/sql-cache
Stars
Forks
Open issues

Security score

No OpenSSF Scorecard available for this repository.

Packages from this repo

No other tracked packages from this repository.

Insights

Activity

Total releases
6
Last 12 months
1
Cadence
~2 months
Dependencies
3

Releases per month

last 12 months

Release mix

  • patch 5
6 releases
Releases
Version Released
v1.0.6 patch
v1.0.5 patch
v1.0.4 patch
v1.0.3 patch
v1.0.2 patch
v1.0.0 initial