:trailing_slash - If true, adds a trailing slash, as in “/archive/2005/”. Note that this is currently not recommended since it breaks caching.
https://apidock.com/rails/v4.1.8/ActionView/RoutingUrlFor/url_for
:trailing_slash - If true, adds a trailing slash, as in “/archive/2005/”. Note that this is currently not recommended since it breaks caching.
https://apidock.com/rails/v4.1.8/ActionView/RoutingUrlFor/url_for
Resources with / and no-/ are both seen as different resources but serve the same content. It's therefore seen as duplicate content. The browser sees them as different resources and caches both of them separately.