Download the PHP package truesocialmetrics/cache-storage-adapter-large-items without Composer
On this page you can find all versions of the php package truesocialmetrics/cache-storage-adapter-large-items. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download truesocialmetrics/cache-storage-adapter-large-items
More information about truesocialmetrics/cache-storage-adapter-large-items
Files in truesocialmetrics/cache-storage-adapter-large-items
Download truesocialmetrics/cache-storage-adapter-large-items
More information about truesocialmetrics/cache-storage-adapter-large-items
Files in truesocialmetrics/cache-storage-adapter-large-items
Vendor truesocialmetrics
Package cache-storage-adapter-large-items
Short Description Laminas cache adapter for large items
License MIT
Package cache-storage-adapter-large-items
Short Description Laminas cache adapter for large items
License MIT
Please rate this library. Is it a good library?
Informations about the package cache-storage-adapter-large-items
laminas-cache-storage-adapter-large-items
A Laminas Cache Storage adapter that enables storing large items by automatically splitting them into smaller chunks.
Installation
Install via composer:
Features
- Transparently handles large cache items by splitting them into smaller chunks
- Compatible with any existing Laminas Cache Storage adapter
- Configurable maximum item size
- Preserves complex data structures through JSON serialization
- Automatic cleanup of chunked items on removal
Usage
How It Works
The adapter automatically handles large items by:
- Attempting to store items directly if they're under the maximum size limit
- For larger items:
- Splits the data into smaller chunks
- Stores each chunk with a unique key
- Creates an index to track all chunks
- Automatically reassembles the data when retrieving
- Cleans up all chunks when removing items
Configuration
| Option | Type | Default | Description |
|---|---|---|---|
| maxItemSize | int | 300000 | Maximum size in bytes for a single cache item |
Requirements
- PHP 8.0 or later
- laminas/laminas-cache
License
MIT License
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
All versions of cache-storage-adapter-large-items with dependencies
PHP Build Version
Package Version
The package truesocialmetrics/cache-storage-adapter-large-items contains the following files
Loading the files please wait ...