• Hi,

    i have a widget with a RSS feed on my side which gets some updates a day. The problem is, the site itself is not often visited. That’s why i want to flush and rebuild the cache automatically every 2 or 3 hours, so that the RSS content is always up2date. Is there a solution for doing that (CRON job or something like that)?

    https://www.ads-software.com/plugins/w3-total-cache/

Viewing 2 replies - 1 through 2 (of 2 total)
  • So i understand….you have an rss content being shown in your sidebar of your page. The page is being cached by w3tc but you want the page to refresh every 2-3 hours?

    Are you using disk_enhanced caching? Are you doing anything else like memcached, or using a CDN for these cached files?

    w3tc has a garbage collection and even a cache preload feature. The garbage collection (found under “Page Cache”) time will trigger a wp cron at the set interval to expire old pages.

    Thread Starter mupa

    (@mupa)

    Hm, but as far as i know, cron jobs will only be triggered if somebody visits the site. So if a job should run on 12:00 PM, but the first visit of the site is on 6:00 PM, then the job will run on 6:00 PM right?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘automatic cache rebuild’ is closed to new replies.