Bugfix for cache lifetime

Fixed a bug that caused the standard cache lifetime to be 600ms. A bit
low.
Bugfix for cache lifetime