Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Apcu and wincache implement ttl - it shouldn't be necessary to set two cache keys and double-confirm that the cache entry has not expired before returning the cache hit. XCache also implements ttl, but uses the request time for all timestamps, that means cache usage like this doesn't work: Cache::write('something', 'value'); sleep(longer than ttl); $result = Cache::read('something'); <- still 'value' Since XCache support ends soon, this engine is not modified.
- Loading branch information
Showing
2 changed files
with
3 additions
and
50 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters