Fragment cache helps in caching parts of the view instead of caching the entire view. Fragment caching is used when different parts of the view need to be cached and expired separately. Before Rails 5, fragment caching was supported only in Action View templates. Rails 5 provides fragment caching in Action Mailer views . To use this feature, we need to configure our application as follows. This co