By browsing this website you accept that we set Cookies on your device in order to serve you relevant ads and a better user experience. Close

Nachricht

« Zurück

www.phpclasses.net

From: PHP Classes Notable <list-notable@phpclasses.net>, sent: 13:43:38 - 30.12.2016

Notable PHP package: PHP Cache Manager Wrapper - PHP Classes
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.

Notable PHP package: PHP Cache Manager Wrapper

Get Hired



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.

If your notable package is innovative, you may also earn prizes and recognition in the PHP Innovation Award.

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

Package

PHP Cache Manager Wrapper

Wrap over cache classes to optimize cache requests

Moderator comment

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.

Author

Sergii Pryz

Groups

Cache, Performance and optimization, PHP 7, PSR

Description

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 rofldigger@getsend.xyz. If you wish to unsubscribe go to the unsubscribe page.