Changed ttl for caching to avoid calculating every time