Notable PHP package: PHP Cache Manager Wrapper - PHP Classes
www.phpclasses.netFrom: PHP Classes Notable <email@example.com>, sent: 13:43:38 - 30.12.2016
Notable PHP package: PHP Cache Manager Wrapper
The End of Job Hunting As You Know It
Rofl, a PHP package is considered Notable when it does something different that is worth noting.
If you have also written Notable packages, contribute them to the PHP Classes site to get your work more exposure.
Now you can also win a Big elePHPant as one of the possible prizes you can win every month. Check the complete list of prizes here: List of prizes
PHP Cache Manager Wrapper
Wrap over cache classes to optimize cache requests
Requests sent to APIs or database accesses may take a significant amount of time to process depending on the complexity of the requests. However, some API requests or database accesses may be actually retrieving the same data.
This class provides a solution to automatically cache the responses of APIs or the results of the datatase queries implemented in PHP by looking at API request parameters and checking if they were stored in previously cached responses.
The package uses PSR-6 compliant cache classes, so it can be used with any cache storage container that implements the PSR-6 interfaces.
Cache, Performance and optimization, PHP 7, PSR
This package can wrap over cache classes to optimize cache requests.
It can take some parameters about queries of data, to a REST API or a database search for instance, and determines if the results in the cache are already available or need to be retrieved.
It also accesses the cache if the list of fields to be retrieved is a subset of values already stored in a cache entry.
The package can take query parameters for a context name, the type of entity being queried, a specific list of entity IDs, name of the entity fields to be returned, and the name of the id field.
The package calls PSR-6 compliant cache classes to access the cached data.
|Rofl you are getting this message as free service for being a user of the PHP Classes site to which you registered voluntarily using the email address firstname.lastname@example.org. If you wish to unsubscribe go to the unsubscribe page.|