Node.js image server handles caching and pre-response image manipulation