Support » Plugin: Advanced Random Posts Widget » Is there any way to set the refresh rate?

  • I would like the random posts to not change for a day, if possible, or at least have some control over the time before changing to another post.

    This is for a list of members, and we want them all to have some time to be featured.

    Is there some way to set that?

    Also, I had to Allow ORDER BY RAND() at WP Engine, after having WP Engine support help me to figure out why the posts weren’t changing, and they say this:
    “Normally we disable ORDER BY RAND() orderings in MySQL queries because this is a big no-no for large databases which we’ve seen cause massive slow-downs for dozens of our customers. However, you can enable it if you know what you’re doing, for example if you cache the results for 5-15 minutes so that you’re not pummeling the database with these slow queries.”

    So I was thinking perhaps if there were a time setting, it would also help with the “not pummeling the database” recommendation.

    Thank you.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Idenovasi

    (@idenovasi)

    It actually already in my feature list, a cache control. Unfortunately, the feature is not ready. Your hosting is correct if you have large data/content you should not use any random posts plugin.

    I may add this feature in the future. But I am sorry, I may not update this plugin for the next couple days or weeks, but as soon as I have the time, I will update the plugin.

    Cheers,
    Marga Satrya

    Thank you! Luckily it is only a member listing of around 100, so maybe it can wait until you have the time! I am glad you have it planned.

    +1 from my side. Have you done an update in the meantime?

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.