I am loading an images from server, and I am serving images from server like below
res.setHeader('Cache-Control', 'public, max-age=3600');
res.writeHead('200', {'Content-Type': 'image/png'});
res.end(data,'binary');
I am calling image like below in image tag
<img src="http://server.com/image1" />
But when image1 value is changed at server how to load image from server not from cache. What are the necessary modifications I have to do for this. Please help me on this.