Title: Cache Refresh Interval is not working
Last modified: August 30, 2016

---

# Cache Refresh Interval is not working

 *  Resolved [HennerB](https://wordpress.org/support/users/hennerb/)
 * (@hennerb)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/cache-refresh-interval-is-not-working/)
 * Hi,
 * we have some calenders, where the cache refresh interval is not working. It is
   set to 1 hour, but sometimes new events aren’t showing even after days. Clearing
   the cache solves the problem immediatly, but in the long run this is not an acceptable
   solution.
 * Do you have any idea how to solve this?
 * Best regards
 * Henner
 * [https://wordpress.org/plugins/google-calendar-events/](https://wordpress.org/plugins/google-calendar-events/)

Viewing 15 replies - 1 through 15 (of 51 total)

1 [2](https://wordpress.org/support/topic/cache-refresh-interval-is-not-working/page/2/?output_format=md)
[3](https://wordpress.org/support/topic/cache-refresh-interval-is-not-working/page/3/?output_format=md)
[4](https://wordpress.org/support/topic/cache-refresh-interval-is-not-working/page/4/?output_format=md)
[→](https://wordpress.org/support/topic/cache-refresh-interval-is-not-working/page/2/?output_format=md)

 *  Plugin Contributor [Nick Young](https://wordpress.org/support/users/nickyoung87/)
 * (@nickyoung87)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/cache-refresh-interval-is-not-working/#post-6830166)
 * I have marked this as a bug to look into. Thanks for bringing it to our attention.
 *  Plugin Contributor [Nick Young](https://wordpress.org/support/users/nickyoung87/)
 * (@nickyoung87)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/cache-refresh-interval-is-not-working/#post-6830524)
 * Is this happening with a grouped calendar?
 *  Plugin Contributor [Nick Young](https://wordpress.org/support/users/nickyoung87/)
 * (@nickyoung87)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/cache-refresh-interval-is-not-working/#post-6830532)
 * Hi, does the 3.0.11 update help you with this issue?
 *  [MikeShand](https://wordpress.org/support/users/mikeshand/)
 * (@mikeshand)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/cache-refresh-interval-is-not-working/#post-6830535)
 * I’m having this problem. I was having it with V2, and had hoped that moving to
   V3 would fix it. I’m running 3.0.11 and have even set my cache time to 15 mins
   and I am still not getting it updated. The page that the calendar is on is NOT
   cached, so that is not the problem. It IS a grouped calendar, if by that you 
   mean multiple events on the same day with a single date line. The calendar is
   set to “list” view, hide header, NOT compact list. You can see it at [http://www.standrewsoxshott.org.uk/worship-learning/services/](http://www.standrewsoxshott.org.uk/worship-learning/services/)
   but it is now up to date becuase I have manually cleared the cache. It looks 
   8 days ahead.
 *  [MikeShand](https://wordpress.org/support/users/mikeshand/)
 * (@mikeshand)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/cache-refresh-interval-is-not-working/#post-6830536)
 * Just another data point. Sometimes it DOES update withoput needing a manual cache
   refresh, but I haven’t been able to identify the circumstances. I’m also running
   it in a sandbox which gets no public access, and that behaves differently and
   usually DOES update. When it doesn’t it isn’t necessarily at the same point as
   the public version. So this MAY point to the fact that it is somehow traffic 
   dependent. Maybe?
 *  Plugin Contributor [Nick Young](https://wordpress.org/support/users/nickyoung87/)
 * (@nickyoung87)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/cache-refresh-interval-is-not-working/#post-6830538)
 * Well the way WordPress transients work – yes traffic changes things a bit. The
   cache is on a time limit but it will only get refreshed when someone visits the
   page and it has to check if it is cleared or not.
 * Maybe try clearing all of your calendar caches (if you haven’t since the update)
   because since it is a grouped calendar it might be trying to use some of the 
   old caches from the other calendars still.
 *  [mssdidi](https://wordpress.org/support/users/mssdidi/)
 * (@mssdidi)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/cache-refresh-interval-is-not-working/#post-6830539)
 * First, thank you for this wonderful plugin! I have the same issues and am posting
   to be kept in the loop!
 * Happy New Year!
 *  Thread Starter [HennerB](https://wordpress.org/support/users/hennerb/)
 * (@hennerb)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/cache-refresh-interval-is-not-working/#post-6830540)
 * Hi,
    thanks for trying to solve the problem! Since I don’t know how to provoke
   the problem, I will just wait if it occurs again. As mentioned by someone else
   before sometimes it works and sometimes it doesn’t.
 *  [MikeShand](https://wordpress.org/support/users/mikeshand/)
 * (@mikeshand)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/cache-refresh-interval-is-not-working/#post-6830541)
 * Ah! By grouped you mean showing multiple calendars? No it’s not that, just a 
   single calendar from which certain events are selected by a “search query”. In
   any case I have cleared all the other calendar caches.
 * So, I’m assuming the way it is supposed to work is that when the page is accessed
   it checks to see if the cache has expired, and if not uses the cached results,
   otherwise it pulls down the calendar from google again. But since events that
   have passed are ALWAYS removed even when new events that should appear are not
   added, I’m assuming it always trims expired events from the front even when the
   cache has NOT expired.
 * If it DOESN’T do that trimming when the cache is still valid it would seem to
   indicate that the cache is expiring correctly but for some reason it is unable
   to get new data from google.
 * Is there some kind of debugging I can turn on which might help to determine what
   is really going on here?
 * Thanks again for your efforts.
 *  Plugin Contributor [Nick Young](https://wordpress.org/support/users/nickyoung87/)
 * (@nickyoung87)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/cache-refresh-interval-is-not-working/#post-6830543)
 * You are correct in how the cache works. The trimming though does not happen like
   that. It only should remove past events if the cache is refreshed. I will do 
   some testing to see if I can reproduce.
 *  Plugin Contributor [Nick Young](https://wordpress.org/support/users/nickyoung87/)
 * (@nickyoung87)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/cache-refresh-interval-is-not-working/#post-6830558)
 * I haven’t been able to find anything here. Any luck on possibly finding what 
   the root is on your side?
 *  [MartyF81](https://wordpress.org/support/users/martyf81/)
 * (@martyf81)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/cache-refresh-interval-is-not-working/#post-6830559)
 * I am experiencing this same problem and h ave been following this post for a 
   couple weeks to see if there is resolution.
 * I only have 1 calendar. It is not a group calendar.
 * My refresh interval is set to 1 hour and I can add something to the calendar,
   and days later it is still not there. My site gets a couple hundred visitors 
   per day.
 * If I go in and clear the cache, updates will instantly appear… additionally it
   will update in real time for basically the rest of the day without clearing the
   cache.
 *  [MikeShand](https://wordpress.org/support/users/mikeshand/)
 * (@mikeshand)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/cache-refresh-interval-is-not-working/#post-6830560)
 * OK, I’ve tried setting the cache time to zero, on the assumption that this will
   disable the calendar cache. This seems to have worked OK today. I’ll monitor 
   for the next week and see how it goes. Obviously not ideal, but if it continues
   to work I MAY then be able to resume cacheing the PAGE that the shortcode is 
   on using ZenCache (I currently have the page exempted from cacheing to rule that
   out of the equation). If that works, then it may be an acceptable work around.
 *  [MikeShand](https://wordpress.org/support/users/mikeshand/)
 * (@mikeshand)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/cache-refresh-interval-is-not-working/#post-6830561)
 * Hmmm. Setting a cache time of 0 hours doesn’t seem to help. Certainly one of 
   my calendars, which had this set didn’t update at all. Bizzarrely it said “no
   events from Monday 25th to weds 20th”. It was supposed to be showing events for
   the week from next monday (25th). After refreshing the cache manually it is now
   OK. Note that this is a “test” calendar that should be getting NO external traffic(
   unless someone is accidentally finding it) and I hadn’t looked at it for a week
   or so.
 *  [MartyF81](https://wordpress.org/support/users/martyf81/)
 * (@martyf81)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/cache-refresh-interval-is-not-working/#post-6830562)
 * This is super frustrating, I want to upgrade my client to the PRO version… but
   I can’t do it when this basic function is not working in the free version.

Viewing 15 replies - 1 through 15 (of 51 total)

1 [2](https://wordpress.org/support/topic/cache-refresh-interval-is-not-working/page/2/?output_format=md)
[3](https://wordpress.org/support/topic/cache-refresh-interval-is-not-working/page/3/?output_format=md)
[4](https://wordpress.org/support/topic/cache-refresh-interval-is-not-working/page/4/?output_format=md)
[→](https://wordpress.org/support/topic/cache-refresh-interval-is-not-working/page/2/?output_format=md)

The topic ‘Cache Refresh Interval is not working’ is closed to new replies.

 * ![](https://ps.w.org/google-calendar-events/assets/icon-256x256.png?rev=1263960)
 * [Simple Calendar - Google Calendar Plugin](https://wordpress.org/plugins/google-calendar-events/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/google-calendar-events/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/google-calendar-events/)
 * [Active Topics](https://wordpress.org/support/plugin/google-calendar-events/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/google-calendar-events/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/google-calendar-events/reviews/)

 * 51 replies
 * 7 participants
 * Last reply from: [MikeShand](https://wordpress.org/support/users/mikeshand/)
 * Last activity: [10 years, 2 months ago](https://wordpress.org/support/topic/cache-refresh-interval-is-not-working/page/4/#post-6830624)
 * Status: resolved