1st version (unstable)

Adaptation version from "Yourls-APC-Cache" by Ian Barber
(https://github.com/ianbarber