Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

{"meta":{"status":200,"msg":"OK"},"response":{"blog":{"title":"rigoneri's blog","posts":11,"name":"rigoneri","url":"http:\/\/blog.rigoneri.com\/","updated":1339467147,"description":"","ask":false,"likes":0},"posts":[ ... ]}

How does Google take to this? As far as I can tell it has to evaluate the JS before it can crawl the site; I got a few seconds of "Loading..." after the page had finished loading while it was pulling in the JSON.



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.


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).




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: