Server scaling and load created by the plugin

I’m curious to know if this has improved with the more recent versions of the plugin. I think that one reason for the huge number of calls to Discourse was related to syncing the Discourse comment numbers on WordPress index pages. The sync-period for comments numbers on index pages has been increased to 1 day. This should somewhat reduce the number of calls being made on busy sites, but it’s still not very efficient and it also results in the comment numbers on WordPress being out of sync with the comment numbers on Discourse.

One thing that could quite easily be done to increase the efficiency with which comments and comment numbers are synced would be to add an option to use a Discourse webhook for syncing comments. This way comments would only be synced when a change happens on the Discourse site. This ties in quite well with the WordPress REST API.

The UI for it could be fairly straightforward. (this screeenshot is from the shortcodes plugin.)

There are also some efficiency issues related to displaying avatars. I’m not sure what can be done about that, other than adding an option to not display avatars for the comments displayed on WordPress.