diff --git a/lib/caching.js b/lib/caching.js index f410a19..72e6a70 100644 --- a/lib/caching.js +++ b/lib/caching.js @@ -58,6 +58,10 @@ var caching = function (args) { self.del = self.store.del.bind(self.store); + if (typeof self.store.setex === 'function') { + self.setex = self.store.setex.bind(self.store); + } + if (typeof self.store.reset === 'function') { self.reset = self.store.reset.bind(self.store); }