Our previous examples have not actually served any files yet, but that is simple enough. We make it more interesting by respecting the browser cache. If the client already has an up-to-date copy of a file, there's no need to re-fetch it from Dropbox. First, the simple case. Here's our node GET handler for a file. We're using express.js for simplicity and node-dbox to wrap the Dropbox API. In this

