• I have noticed this on previous versions of wordpress so not just the current build.

    When a website visitor goes to a webpage where catlist lists posts – and then that person leaves the webpage and comes back another time – when there are new posts in the categories – but the new posts are not shown on the catlist page/url UNLESS a manual refresh of the page occurs… and then they show.

    is there anyway to display the latest content and for it to be automatically refreshed when a webpage visitor comes back again… as at first glance it looks like nothing has changed….

    https://ww.wp.xz.cn/plugins/list-category-posts/

Viewing 1 replies (of 1 total)
  • That behaviour is down to the caching of the pages on your site and not related to this plugins behaviour itself. It would be beyond the scope of this plugin to start interfering with the caching behaviour of your site.

    You might have caching being performed by a plugin (such as W3 Total Cache).
    In this instance, after creating a new post, you should always clear or rebuild your cache. Whilst you may have created the new post in the category, the category page inside the cache on which you are displaying your calist hasn’t been updated. Clearing the cache will cause it to be rebuilt when the next visitor hits your website. Ideally, your cache plugin should allow you to clear down a specific page rather than delete every object in the cache even if it has nothing to do with your new post and it’s associated category pages. (W3 Total Cache allows you to do this for example)

    Or, you may have set up your site to leverage browser caching (this might even be automatically set up by your web host).
    This may be performed by a Page Speed plugin for example to help improve your Google Insights Speed test. Either way, it’s good practice to enable browser caching on your site.
    Whilst there are ways of forcing/tricking a visitors browser into loading a new version of an object, you can’t really control the visitors browser without adding extra plugins/controls (i.e. You can’t force the user to perform a cache clear via Control F5 but you can make the browser think an object is new).

Viewing 1 replies (of 1 total)

The topic ‘How to get list of posts to refresh?’ is closed to new replies.