Tagged Questions
2
votes
1answer
78 views
How to create a simple stateless cache class in PHP
i need to create a cache class to avoid making the same calculations more than needed. My idea was something really basic like
class transient_cache {
static private $cache = array();
static ...