Middleware to dynamically resize images behind Varnish.