Thanks kaizendad! Indeed, I commit the generated file to Git with the features I implement. This way it is even more transparent when a new feature includes e.g. a new api endpoint. And it definitely helps me reviewing the changes before I commit.
I designed it with very short living cache entries in mind. In my case to cache session objects for a few seconds so that not every request for each resource that is loaded for one web page needs to hit the database.
For what would you find it useful?