apply caching on the proxy based on https://github.com/stefanhoth/php-simple-proxy/commit/f80e0be00546fd4fd737184c998c1f9ac2434521