Libraries tagged by automatic-caching
genealabs/laravel-model-caching
4384073 Downloads
Automatic caching for Eloquent models.
mikebronner/laravel-model-caching
49122 Downloads
Automatic caching for Eloquent models.
fxcjahid/laravel-eloquent-cache-magic
15 Downloads
A powerful Laravel package for automatic Eloquent query caching with zero-code auto-cache, Redis/Memcached tag support, automatic invalidation, and advanced monitoring
vheins/laravel-model-caching
14 Downloads
Automatic caching for Eloquent models.
testingap/laravel-model-caching
3 Downloads
Automatic caching for Eloquent models.
snowsoft/laravel-model-caching
16 Downloads
Automatic caching for Eloquent models.
sec-sux-genealabs/laravel-model-caching
12 Downloads
Automatic caching for Eloquent models.
sbagroupzrt/laravel-model-caching
178 Downloads
Automatic caching for Eloquent models.
purpose-media/laravel-model-caching
10 Downloads
Automatic caching for Eloquent models.
knovator/laravel-model-caching
4 Downloads
Automatic caching for Eloquent models.
jocoonopa/laravel-model-caching
109 Downloads
Automatic caching for Eloquent models.
guestisp/laravel-model-caching
14 Downloads
Automatic caching for Eloquent models.
genealabsaraf/laravel-model-caching
154 Downloads
Automatic caching for Eloquent models.
emprove/laravel-model-caching
16 Downloads
Automatic caching for Eloquent models.
coco-project/sql-cache
23 Downloads
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.