DamonOehlman/getit

Send a callback parameter if using cached file

Closed this issue · 2 comments

I'm considering using this in a project, but it would be handy if an extra parameter was sent to the callback if the cached file was used. This could be as simple as callback(err, cacheData.data, true);, or it could be the status code (or something else)?

Seems like a reasonable request - I'll have a look at this now.

Thanks!