2019-03-19 UTC
[kevinmarks], [tantek], [cleverdevil], [jgmac1106], [aaronpk] and [frank] joined the channel
# 08:32 [frank] I like how the Syndication Links plugin automatically adds text to my article, but when it fails to publish, it shouldn't show. Now it just shows the text "Doorgeplaatst op:" ("Also published on:") but no Twitter link. How to fix this?
[Rose], [aaronpk], [jgmac1106] and jeremych_ joined the channel
# 11:06 GWG [frank]: Do you have any caching enabled?
[kevinmarks], [Franco_Scarpa] and [frank] joined the channel
# 11:42 GWG [frank]: Is there a way to invalidate the cache? The publishing link doesn't get added till after initial publish
[jgmac1106] joined the channel
# 11:45 GWG [frank]: Disable would work, but what we'd want to do is make it so the cache is refreshed
# 11:46 sknebel does the user get sent to the initial version? otherwise I'm not sure why it would ever end up in a cloudflare cache
# 11:46 [frank] I can flush the cache from the Cloudflare interface but that's not really a durable solution is it?
# 11:47 sknebel but from a quick look at the logs, it looks like the initial version got loaded by bridgy
# 11:47 GWG It doesn't add the link till a minute later
# 11:48 GWG Is there a WordPress plugin that manages Cloudflare caching?
# 11:48 GWG There is, and there is an option to flush the cache when a page is updated.
# 11:50 sknebel [frank]: next time you see this, can you try to capture the webserver logs for accesses to the post? if Cloudflare is caching it, I'd expect to see no request from bridgy making it to your server at all, which would confirm what's going on
# 11:51 [frank] And then I _really_ need to work on my companyplan...
# 11:51 [frank] I can check the webserver logs from this morning as well.
# 11:54 GWG There should be a setting to automatically purge when the page is updated
# 11:55 GWG And what I'll do is trigger the edit post action to tell it the post is updated.
# 12:00 [frank] I installed the Cloudflare plugin, enabled Automatic Cache Management. I will create a new entry, enable Syndication to Twitter and see what happens next.
# 12:01 GWG The likelihood is I'll have to make arrangements to trigger it.
# 12:03 [frank] Ah OK, so it'll probably fail then? Which is OK, that's a conclusion as well 😉
# 12:04 GWG [frank]: I didn't think about caching as an issue. Now I am.
# 12:04 GWG I may ask you to test a fix in the future
# 12:06 GWG It's one of the best ways to help.
# 12:27 [frank] The Syndication Link plugin in the Gutenberg editor
# 12:31 [frank] I don't see any reference to Bridgy in the logfiles as well, so that works out
# 12:45 [frank] When I purged the cache, enabled the syndication to Twitter and save again, everything works as expected and a tweet is posted.
# 12:52 GWG I think I just need to trigger the purge
# 12:52 GWG I checked and I just have to tell the system the post was updated
# 13:06 [frank] Know that Cloudflare takes somewhere around 30 seconds to complete the purge. At least that is what they say on their own site.
[tantek] joined the channel
# 13:09 sknebel GWG: can you have wordpress send a no-cache header for the temporary state of the post?
[kevinmarks], [jgmac1106], dougbeal|mb1, [schmarty], [frank], [Rose], [tantek], gRegorLove and chrisaldrich joined the channel
chrisaldrich, [tantek], [schmarty] and [Rose] joined the channel
# 19:57 [Rose] Does the WordPress micropub plugin ignored the "updated" field?
[tantek] joined the channel
[jgmac1106], [chrisaldrich], chimo and [schmarty] joined the channel
chrisaldrich and [Rose] joined the channel
# 21:50 [Rose] I think my problem was I was only sending updated - not published.
[tantek], [kevinmarks] and [jgmac1106] joined the channel