This adds an option in the env which will shorten the cache expiry for the versioned cache. It has no effect on the unversioned cache as that should live longer to prevent thundering herd. expires_in is defined as a parameter that cache stores should accept (even if they ignore it) so this should be safe to add to the call.
Part of https://github.com/Shopify/kernel-merch/issues/117
This adds an option in the env which will shorten the cache expiry for the versioned cache. It has no effect on the unversioned cache as that should live longer to prevent thundering herd.
expires_in
is defined as a parameter that cache stores should accept (even if they ignore it) so this should be safe to add to the call.