module
Importance_1
Ruby on Rails latest stable (v7.1.3.2) - 0 notes

Action Controller Etag With Flash

When you’re using the flash, it’s generally used as a conditional on the view. This means the content of the view depends on the flash. Which in turn means that the ETag for a response should be computed with the content of the flash in mind. This does that by including the content of the flash as a component in the ETag that’s generated for a response.

Show files where this module is defined (1 file)
Register or log in to add new notes.