Thanks Ryan!


On Thu, Jan 24, 2013 at 8:45 PM, Ryan Regalado <notifications@github.com>wrote:

> In routes/wines.js:
>
> >  exports.findById = function(req, res) {
> > +
> > +    // At some point we may want to lock this api down!
> > +    // If this is on the Internet someone could easily
> > +    // steal, modify or delete your data! Need something like
> > +    // this on our api (assuming we have people authenticate):
> > +    // if (req.session.userAuthenticated) {
> > +
> > +    // We don't want the browser to cache the results
> > +    res.header('Cache-Control', 'no-cache, private, no-store, must-revalidate, max-stale=0, post-check=0, pre-check=0');
>
> I'm just a watcher on this repo but wanted to comment that it's awesome
> that you've added no caching [image: :sparkles:]
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/ccoenraets/nodecellar/pull/6/files#r2770226>.
>
>



-- 
 - Dan Stroot