WP RSS Multi Importer
[resolved] Server Load - Cron? (3 posts)

  1. jeffvand
    Posted 3 years ago #

    We are looking at rolling this plugin out on a multisite network for users to be able to import feeds to their site. The question I have is about the server load. How does this plugin find new posts? Does it run a cron job, or just look for new posts when a page is loaded? Just trying to think about scalability and make sure it is not going to slow down our network if we offer this to our users.

    Thanks so much for this GREAT plugin!


  2. Allen
    Plugin Author

    Posted 3 years ago #

    Hi Jeff
    Yes, the plugin runs the WordPress Cron (it's built into WordPress) that runs when anybody hits the site when the cron time is fired. Here is what they say on wordpress:

    "Schedules a hook which will be executed by the WordPress actions core on a specific interval, specified by you. The action will trigger when someone visits your WordPress site, if the scheduled time has passed."

    So, when the cron fires, the plugin loads new posts for the Feed to Post feature.

    If, instead, you are using the shortcode feature of displaying feeds on the site, this works a bit differently. Here, each time someone visits it pulls in the most recent feeds. You can set this to cache the feeds so that it will pull in the feeds then store them temporarily on the server (this is the option in the settings panel) and then new visitors will get the feed items from temporary memory.

    I hope this makes sense and answers your questions.


  3. jeffvand
    Posted 3 years ago #

    Yes, that is perfect. Thanks so much!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic


No tags yet.