• Resolved myntillae

    (@myntillae)


    Hello,

    A few months ago we were dealing with slowness issues on the site, and our hosting server mentioned that one of the primary causes was because of the WPP plugin trying to fetch a lot of data. So they sent us an article showing what to do on the site to help it load faster, and one was to set up Redis Cache. That is helping with the speed issues on the site, however, now it’s requiring us to manually clear the cache for WPP in order for the list to show the most up-to-date list of posts. Is there any way around this, or other suggestions you have so that we don’t have to manually clear the WPP cache every day.

    The page I need help with: [log in to see the link]

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Hector Cabrera

    (@hcabrera)

    Hi @myntillae,

    I’m sorry, I’m not sure I’m following here. Which cache specifically are we talking about?

    Thread Starter myntillae

    (@myntillae)

    I have the cache settings in place in the plugin under Tools, but it seems to have a conflict after we added Redis Cache on our server, which our hosting provider had sent an article about how to help with speed issues for WPP. Ironically, now the two caches seem to conflict.

    Is there a way for me to attach screenshots on here?

    Plugin Author Hector Cabrera

    (@hcabrera)

    You can use the Image block here actually, either type in /Image to insert the block or use the + button to add it, then click on the “Insert from URL” button and paste the URL to the screenshot in there.

    Also, please share a screenshot of your Debug screen (WP Dashboard > Settings > WordPress Popular Posts > Debug) so I can check your plugin configuration.

    Thread Starter myntillae

    (@myntillae)

    Thread Starter myntillae

    (@myntillae)

    This is the article that the hosting provider sent over:

    https://github.com/cabrerahector/wordpress-popular-posts/wiki/7.-Performance

    Sharing in case it’s helpful.

    Plugin Author Hector Cabrera

    (@hcabrera)

    Hey @myntillae,

    I’m guessing that the source of the issue is that you have enabled the Data Caching option and also set it to expire every 24 hours (1 day).

    Since you’re using Redis on your site do one of the following:

    • Lower the lifetime of your popular posts data to something like 12 hours or less (personally I’d set it to 5 minutes, that way the plugin will query for a fresh list of popular posts up to 12 times per hour and your popular posts will update more frequently which IMO isn’t a bad trade off).
    • Disable Data Caching altogether, it shouldn’t impact performance that much (if at all, but do test and measure to know for sure).
    Thread Starter myntillae

    (@myntillae)

    Okay, thanks. I have changed the settings to refer every 5 mins to see if that works. If that doesn’t work after a few days, then I will try disabling it all together to see if that works better. Thanks for the advice. I’ll keep you posted if none of the options work.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Redis cache conflict with keeping list up-to-date’ is closed to new replies.