https://github.com/thecodingmachine/utils.cache.file-cache
This package contains a cache mechanism that relies on temporary files.
https://github.com/thecodingmachine/utils.cache.file-cache
Last synced: about 1 year ago
JSON representation
This package contains a cache mechanism that relies on temporary files.
- Host: GitHub
- URL: https://github.com/thecodingmachine/utils.cache.file-cache
- Owner: thecodingmachine
- License: mit
- Created: 2012-09-10T17:10:40.000Z (almost 14 years ago)
- Default Branch: 2.2
- Last Pushed: 2016-09-22T08:33:50.000Z (over 9 years ago)
- Last Synced: 2025-04-11T18:59:51.762Z (about 1 year ago)
- Language: PHP
- Size: 35.2 KB
- Stars: 0
- Watchers: 6
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
[](https://packagist.org/packages/mouf/utils.cache.file-cache)
[](https://packagist.org/packages/mouf/utils.cache.file-cache)
[](https://packagist.org/packages/mouf/utils.cache.file-cache)
[](https://packagist.org/packages/mouf/utils.cache.file-cache)
[](https://scrutinizer-ci.com/g/thecodingmachine/utils.cache.file-cache/?branch=2.2)
[](https://travis-ci.org/thecodingmachine/utils.cache.file-cache)
[](https://coveralls.io/r/thecodingmachine/utils.cache.file-cache)
Mouf's file cache service
=========================
This package contains 2 implementations of Mouf's CacheInterface that stores the cache in files on the server's hard drive.
- `FileCache` is a service that stores cache keys in files. The value is *serialized*.
- `PhpFileCache` is a **more efficient** service that stores cache keys in executable PHP files. You should prefer
this implementation unless you have security concerns about `var_export`ing your cache keys.
To learn more about the cache interface, please see the [cache system documentation](http://mouf-php.com/packages/mouf/utils.cache.cache-interface).