-
Notifications
You must be signed in to change notification settings - Fork 509
Closed
Description
This bug occurs in Chrome and IE only but apparently it is a problem on Rails' end.
You can reproduce it by simply going to this page (https://secret-journey-4942.herokuapp.com/) and following the 3 steps indicated.
After hitting the back button, the browser will render the javascript returned by XHR to render the page instead of the actual page.
Here's the repository of the site that displays the bug.
This is fixed server-side by sending a Vary header, like so:
response.headers['Vary'] = 'Accept'
Metadata
Metadata
Assignees
Labels
No labels