Download the PHP package kuick/cache without Composer
On this page you can find all versions of the php package kuick/cache. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Vendor kuick
Package cache
Short Description Kuick Cache is a slim PSR-16 Simple Cache Interface implementation, supporting backends including Redis, ApcU and FileSystem
License MIT
Package cache
Short Description Kuick Cache is a slim PSR-16 Simple Cache Interface implementation, supporting backends including Redis, ApcU and FileSystem
License MIT
Please rate this library. Is it a good library?
Informations about the package cache
Kuick Cache
PSR-16 Simple Cache implementation
Supporting popular backends such as:
- File system
- Redis
- Database (Doctrine Dbal)
- APCu
- InMemory (aka ArrayCache)
- Layered
Usage
-
Direct object creation:
-
Cache factory: Factory provides automatic cache object creation by a valid DSN
-
Customizing the serializer:
Saved data can be serialized with one of available serializers: default, json, gzip and gzip-json.
With larger datasets it can be beneficial to use Gzip serializer, on the other hand Json based serializers are safer to use, as stored objects are casted to simple, JSON objects. -
Method overview
Kuick Cache implements PSR-16 interface with no exceptions - Layered cache conception
If you are using cost intensive backend like Dbal, it can be beneficial to store cache data on multiple layers. Get methods will try the fastest backend possible.
PLEASE CONSIDER!
If not all backends are distributed, data inconsistency may occur, in example: We have 2 PHP containers serving content. We have 2 layers - one APCu, another Dbal. If one container changes Dbal data the other one may serve stale cache.
All versions of cache with dependencies
PHP Build Version
Package Version
Requires
php Version
>=8.2.0
kuick/redis Version ^1.0
doctrine/dbal Version ^3.1
psr/simple-cache Version ^3.0
nyholm/dsn Version ^2.0
kuick/redis Version ^1.0
doctrine/dbal Version ^3.1
psr/simple-cache Version ^3.0
nyholm/dsn Version ^2.0
The package kuick/cache contains the following files
Loading the files please wait ....