Node.js app that caches and thumbnails images