i just create a gallery page in Node.js using help from Express and Cradle.io to communicate with CouchDB using this code below (images are saved in CouchDB attachment):
app.get("/album/:id", function(req, res){
var id = req.params.id;
db.get(id, function(err, album){
console.log(album);
res.send(album);
})
and after some careful research i found out that although i just updated my database, and reload the page to resend /GET "album/:id" form browser, the Node server doesn't seem to update the "album" variable there. so what i miss here ?