I got an issue like req.headers['if-none-match'] is deleting from all the request regardless of image.
Seems like request doesn't get filtered by this condition
if (matchQueryString && req.accepts('image/*')
req.accepts('image/*') will accepts text/*, application/json (http://expressjs.com/3x/api.html#req.accepts)