Hacker News new | ask | show | jobs
by patrickaljord 5120 days ago
https://www.google.com/search?q=google+bot+is+chrome

edit: when I click on an external link and then click the back button, I get the JSON too even with chrome. This is bad.

1 comments

This is a known issue with Chrome. See: http://code.google.com/p/chromium/issues/detail?id=94369

The best way to circumvent the issue is to prevent the browser from caching the request (ex. cache busting via random querystring parameters), or to use different URLs for the HTML and JSON response (ex. appending '.json' to the end of the path).