diff --git a/README.md b/README.md index 499faa0..c0e3ddd 100644 --- a/README.md +++ b/README.md @@ -26,7 +26,7 @@ If no live video is available, you can display a specified video or a “channel You can also enable auto-refresh to automatically check for a live video every 30 seconds (warning: will increase server load, so use with caution). -By default, the server will check YouTube’s API and then cache that response for 30 seconds before checking the API again. If auto-refresh is enabled, clients will check against your server every 30 seconds and likely will hit that cache as well, so it can potentially take up to 60 seconds before a client will get a live video. +By default, the server will check YouTube’s API and then cache that response for 15 minutes before checking the API again (you may change this value in the admin settings). If auto-refresh is enabled, clients will check against your server every 30 seconds and likely will hit that cache as well, so it can potentially take up to 16 minutes before a client will get a live video. The length of both caches can be changed using the `wp_youtube_live_transient_timeout` filter (see below for more information). diff --git a/readme.txt b/readme.txt index 1370c72..b5d5ba9 100644 --- a/readme.txt +++ b/readme.txt @@ -26,7 +26,7 @@ If no live video is available, you can display a specified video or a “channel You can also enable auto-refresh to automatically check for a live video every 30 seconds (warning: will increase server load, so use with caution). -By default, the server will check YouTube’s API and then cache that response for 30 seconds before checking the API again. If auto-refresh is enabled, clients will check against your server every 30 seconds and likely will hit that cache as well, so it can potentially take up to 60 seconds before a client will get a live video. +By default, the server will check YouTube’s API and then cache that response for 15 minutes before checking the API again (you may change this value in the admin settings). If auto-refresh is enabled, clients will check against your server every 30 seconds and likely will hit that cache as well, so it can potentially take up to 16 minutes before a client will get a live video. The length of both caches can be changed using the `wp_youtube_live_transient_timeout` filter (see below for more information).