• Resolved alexdrone

    (@alexdrone)


    Hello, we are really happy with the performance of the plugin and everything it do for us. However we are media website and we constantly have new content added on our website. We have noticed that when a new article is published it appears in the respective category but on our homepage we have an elementor widget with the latest news and for some reason the articles do not appear there if we do not make a manual purge cache request from the admin bar. Is there a way for us to setup a cronjob so we can clean the cache of the homepage let’s say every 10-15 min ?

    P.S The strange thing is that sometimes the articles appear on the homepage without the need of manual cache purge but sometimes they do not appear and this is a big issue for us. Thanks in advance.

    • This topic was modified 4 years ago by alexdrone.

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter alexdrone

    (@alexdrone)

    Hey I have figured out why the content on the homepage was not updating. It was because I have stopped the optimization on the articles/blog posts. However now we are facing another issue, we have views counter on our articles and because the content is cached the view number is not increasing due to the caching. Is there anything we can do? We really need to have the counters as accurate as possible on our articles. Thanks.

    Plugin Author NitroPack

    (@nitropack)

    Hi @alexdrone,

    Glad that you have the cache refresh issue sorted out!

    As for the view counter – you will need to use AJAX to pull live view counter data. This way you will be able to use full page caching and have live numbers. If you are using a plugin for the counter it is possible that it already provides an option to do this, so make sure to check out the available settings.

    Regards,

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How to setup cron to clean cache on homepage?’ is closed to new replies.