code: func (c *CachePolicy) Parse() (*service.CachePolicy, error) {
  	out := service.CachePolicy{
  		Enabled:      c.Enabled(),
  		NeverExpires: c.NeverExpires(),
  	}
  	if out.NeverExpires {
  		return &out, nil
  	}
  	var err error
  	if c.TTL != "" {
  		out.TTL, err = time.ParseDuration(c.TTL)
  		if err != nil {
  			return nil, trace.BadParameter("cache.ttl invalid duration: %v, accepted format '10h'", c.TTL)
  		}
  	}
  	return &out, nil
  }
docs: // Parse parses cache policy from Teleport config