Show and Tell - Server Side Caching

There are a few possible issues. It looks like you might be using global variables? That can generally be a problem, so I would recommend to avoid it. Furthermore, disk caching on heroku can be problematic as the filesystem is local to the dyno (and ephemeral). If you only have a single dyno, the latter shouldn’t be an issue though.