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
Source
- Stars
- —
- Forks
- —
- Open issues
- —
Security score
No OpenSSF Scorecard available for this repository.
Packages from this repo
No other tracked packages from this repository.
Activity
- Total releases
- 6
- Last 12 months
- 1
- Cadence
- ~2 months
- Dependencies
- 3
Releases per month
last 12 monthsRelease mix
- patch 5
Depends on
v1.0.6-
coco-project/logger ^1.0
-
greenlion/php-sql-parser ^4.6
-
symfony/cache ^5.4
Used by
1| 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
|