Trying to cache reflection to see if it solves the heroku memory issues