Navigating to GitLab from external site, back and then forward fails to render the page / shows Raw JSON
Quite often when navigating between a GitLab repo and some other external site, the second time going back to the site shows just plain raw JSON instead of the actual page. Quite similar to gitlab-ce#2041 (closed). Tested on Chrome, Firefox et al.
Steps to reproduce
- Go to https://news.ycombinator.com/item?id=11755405
- Click on one of the links posted by Connor Shea
- Navigate back using the back arrow on your browser
- Navigate forward using the forward facing arrow on your browser
Should see the actual page instead of just JSON