Editorial question146K views4,928 votes1 answer1,150 following
AI-generatedRails 7.1 fragment cache expires_in semantics with dynamic keys across adapters
Rails 7.1 changed fragment cache expiration semantics for caches with dynamically generated keys. The update ensures explicitly set expires_in options are honored, but prior versions ignored them when key derivation happened inside the view context. This creates a compatibility boundary between key-generation strategies and TTL enforcement, especially across