Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make importmap changes invalidate HTML etags by default #54021

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

dhh
Copy link
Member

@dhh dhh commented Dec 21, 2024

When using the importmap, you previously needed to manually add an etagger to the ApplicationController to ensure any changes would invalidate the HTML response etag. The latest version of importmap-rails now has a macro to add this, so this PR adds a call to that in the default ApplicationController.

@rails-bot rails-bot bot added the railties label Dec 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant