feat(cache): adding synchronous ttl based cache