added imagemagick caching for heroku