cache ttl int cast