In Node.js/Express, how do I disable browser cache for a redirect?

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?

Try setting the redirect to be a 307 redirect (http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.3.8) as they shouldn't be cached by default.

app.get('/my_profile_picture.jpg', function(req,res){
    getPicture(req.user.id, function(url){
        res.statusCode = 307;
        res.redirect(url);
    });
});