Open slaFFik opened 9 years ago
Currently, feeds are retrieved only when someone visits the page in user profile. This action also can be very slow, and currently is blocking page load.
So, here is the first step for en improvement: 1) ajaxify this retrieving - this fill fix blocking issue 2) ideally, create a service (our own), that will ping all connected sites to make them a request to update RSS feeds, this can be allowed on per group/user basis, so that group/user can even pay to always have updated Feeds tab in profile.
Great idea!
1: Agreed! Also I think there should be an initial import (trigger) as soon as a feed is saved for the first time. 2: We could probably set up an Amazon instance that does this for our paying customers. WPRocket also does this with their cron service. http://docs.wp-rocket.me/article/8-how-the-cache-is-preloaded. I'm not sure how they do it, but I think they store a log file on your server that their script uses to visit files.
this can be allowed on per group/user basis, so that group/user can even pay to always have updated Feeds tab in profile.
I like this idea but I'd also argue that this is too much of a technical issue for many.. It would also make sense to keep these setting global or configurable for the admin only and configurable via a post meta box for the CPT item.
Options: 1) WP-Cron 2) ajax 3) hidden iframe