removed debug logging
added lifetime to cache