Not sure if you feel this fits within the scope of this module. But I'd quite like to wrap my database queries in a cache to prevent hitting the db too often. What would be really cool is if I could use this library but set expiry times on data ie
store.set("key", "value",1000) # 1000ms optional, otherwise forever
If this isn't inline with your aims, let me know as I may create a module to wrap yours to add this functionality to those who want it.
Thanks.
Not sure if you feel this fits within the scope of this module. But I'd quite like to wrap my database queries in a cache to prevent hitting the db too often. What would be really cool is if I could use this library but set expiry times on data ie
If this isn't inline with your aims, let me know as I may create a module to wrap yours to add this functionality to those who want it.
Thanks.