jmdobry / angular-cache

angular-cache is a very useful replacement for the Angular 1 $cacheFactory.
http://jmdobry.github.io/angular-cache
MIT License
1.39k stars 156 forks source link

README has incorrect examples of time spans #59

Closed marplesoft closed 11 years ago

marplesoft commented 11 years ago

There's several places in the README where you have an example of setting the maxAge option like this:

maxAge: 90000, // Items added to this cache expire after 15 minutes

You are missing a zero. This is actually 1.5 mins, not 15 mins. You do this in several other places with a similar claim that 600000 = 10mins.

jmdobry commented 11 years ago

Oops. Should've used a calculator. Good thing I'm not a cashier.

Good catch.