app.get('/my_profile_picture', function(req,res){
getPicture(req.user.id, function(url){
res.redirect(url);
});
});
This is my code. However, when the user changes his profile picture, the browser still goes to the old picture's URL. It's because the browser has the "redirect" cached or something.
How do I change the response in Express so that there is no cache at all?