PHP Classes

What is the best PHP cache api response class?: Cache REST API response and use it dynamically

Recommend this page to a friend!
  All requests RSS feed  >  What is the best PHP cache api respon...  >  Request new recommendation  >  A request is featured when there is no good recommended package on the site when it is posted. Featured requests  >  No recommendations No recommendations  

What is the best PHP cache api response class?

A request is featured when there is no good recommended package on the site when it is posted. Edit

Picture of nourmajed by nourmajed - 5 years ago (2020-03-10)

Cache REST API response and use it dynamically

This request is clear and relevant.
This request is not clear or is not relevant.

+2

I need a class to cache a REST API response and use it dynamically through Web pages.

Ask clarification

1 Recommendation

Simple Cache Class: Store cache values in different container types

This class can store cache values in different container types.

It can store and retrieve data values in storage containes like MemCache, Redis, files, arrays, and APC.

The cache expiry time is also a configurable value.
This recommendation solves the problem.
This recommendation does not solve the problem.

+1

Picture of Manuel Lemos by Manuel Lemos Reputation 26695 - 5 years ago (2020-03-15) Comment

I think you can use any general data caching class. Try this one that has been updated recently and seems to works in most current PHP versions being used.

  • 2 Comments
  • 1. Picture of Yandrey Arias by Yandrey Arias - 5 years ago (2020-03-19) Reply

    I need do api rest for my web site

  • 2. Picture of Manuel Lemos by Manuel Lemos - 5 years ago (2020-03-19) in reply to comment 1 by Yandrey Arias Reply

    Just get the response of such API into a string and pass that string to the cache class.


Recommend package
: 
: