kwhitley/apicache

Missing documentation on valid values for cache duration

mskutle opened this issue · 1 comments

I can't find documentation on what values you can use for cache duration.
In your examples you use cache('5 minutes'), and I have tried cache('1 week') which works well.

However, cache('1 month') doesn't seem to be valid.

It would be really nice to have an overview of all possible values :)

@mskutle this is a result of the limits of setTimeout, as outlined here:
#208

That said, long duration support is about to rolled out, meaning any of these (and longer) should work fine afterwards. Hang in there!