Leaving the cache to the “user” of the gem allows for a more fine-grained control over what and how long things should be cached.
If the cache was hidden inside the gem, then it might lead to onebox bugs hard to diagnose due to caching issues.
Leaving the cache to the “user” of the gem allows for a more fine-grained control over what and how long things should be cached.
If the cache was hidden inside the gem, then it might lead to onebox bugs hard to diagnose due to caching issues.