• Resolved l555bat

    (@l555bat)


    Hello,

    I’m displaying recent activities of a running group using a shortcode within the template files of my site.

    How often does the plugin poll for new information? It seems to take many hours between refreshes. Is there a way to decrease the time to perhaps every 15 minutes? There are hundreds of runners in the group and I would like to display more up-to-date information.

    I have found that clearing the cache from the admin area does refresh the data but this is obviously a manual process.

    Any help would be appreciated.
    Thanks

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author jrfoell

    (@jrfoell)

    Hi @l555bat – the current cache time for all API requests is one hour. If you want to refresh something right away you can go to Settings -> Strava, click the “Clear cache” checkbox and then “Save Changes.”

    I’m working on this today. I’ll see if I can sneak in an option to change this setting.

    Plugin Author jrfoell

    (@jrfoell)

    Hey @l555bat – I released 2.7.0 yesterday which now includes an option on Settings -> Strava to switch from the default 1 hour cache to 15 minutes. I don’t want to go any lower than that b/c you’ll be bumping up against the API rate limiting. https://developers.strava.com/docs/rate-limits/

    Check it out and let me know if you have any problems.

    Plugin Author jrfoell

    (@jrfoell)

    Also – do you mind leaving a review? ?? Thanks!

    Thread Starter l555bat

    (@l555bat)

    Thanks for the update. Much appreciated. I have left a review too.

    Plugin Author jrfoell

    (@jrfoell)

    Thank you!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Decrease update time for group recent activities’ is closed to new replies.