When I open this website, it opens perfectly
Screenshot of website
When I reopen a closed tab using cmd+shift+t , chrome browser starts showing some code.
Screenshot of website error
When I reload this site using cmd+r, it works fine again.
We are using Next.js
One of the points I believe is leading to this issue is Cache. But when I disable the cache in network tag and perform the same activity, it remains the same.
I have spent a lot of time on this issue understanding how chrome handles cache. There exists two types of memories, disk and memory that chrome uses.
It is possible that the error is related to something else and not cache.