You don’t need expansive libraries for simple operations such as disk caching if you’re only using the basic features of just saving, retrieving and deleting data from a file. See below for a reusable PHP trait that can be incorporated easily into your existing code. It will hash the cache key so that each file […]