…and, value repeating, all of it appears to be like precisely how I need it to look and behaves precisely how I need it to behave. Right here’s one other motion shot!
The ultimate product. She might not appear to be a lot, however she’s obtained it the place it counts, child.
Credit score:
Lee Hutchinson
Downside noticed
Armed with my handy-dandy log colorizer, I patiently waited for the wrong-comment-area drawback habits to re-rear its still-ugly head. I didn’t have to attend lengthy, and inside a few days, I had my root trigger. It had been there all alongside, if I’d solely determined to spend a while searching for it. Right here it’s:
Downside noticed. Be aware the AppleNewsBots hitting the newly printed submit earlier than Discourse can do its factor and the ultimate model of the web page with feedback is prepared.
Credit score:
Lee Hutchinson
Briefly: The issue is Apple’s fault. (Nicely, probably not. However kinda.)
Much less briefly: I’ve blurred out Eric’s IP handle, but it surely’s darkish inexperienced, so anyplace within the above picture the place you see a blurry, darkish inexperienced smudge, that’s Eric. Within the roughly 12-ish seconds offered right here, you’re seeing Eric press the “publish” button on his every day forecast—that’s the “POST” occasion on the very prime of the window. The next occasions from Eric’s IP handle are his browser having the usual post-publication dialog with WordPress so it will possibly show the “submit printed efficiently” notification after which redraw the WP block editor.
Under Eric’s submit, you may see the Discourse server (with orange IP handle) notifying WordPress that it has created a brand new Discourse remark thread for Eric’s submit, then grabbing the issues it must mirror Eric’s submit because the opener for that thread. You’ll be able to see it does GETs for the precise submit and in addition for the submit’s embedded photos. About one second after Eric hits “publish,” the brand new submit’s Discourse thread is prepared, and it will get connected to Eric’s submit.
Ah, however discover what else occurs throughout that one second.
To assist broaden Area Metropolis Climate’s attain, we cross-publish all the website’s posts to Apple Information, utilizing a well-liked Apple Information plug-in (the identical one Ars makes use of, in reality). And proper there, with these two GET requests instantly after Eric’s POST request, lay the issue: You’re seeing the vanguard of Apple Information’ hungry military of story-retrieval bots, summoned by the identical “publish” occasion, charging in and demanding a replica of the model new submit earlier than Discourse has an opportunity to do its factor.











