audiomaxstale
audiomaxstale
Default Value: 0 seconds
Tells the platform the maximum acceptable staleness, in seconds, of expired cached audio resources.
Example
Explanation
From this example, audiomaxage has a value of 150 seconds and audiomaxstale has a value of 25 seconds. For simplicity, let's say the expiration time of “test.wav” is when it is 100 seconds old. According to the flowchart of fetching a resource from the cache, since the age of the cached resource is less than the value of audiomaxage (110 < 150), it would check the expiration time of “test.wav”. Since the age of the cached resource is greater than the expiration time (110 > 100), an audiomaxstale check is done. Since the audiomaxstale value is provided, the cache engine then checks if the cached copy has exceeded the expiration time by no more than audiomaxstale seconds. Since the cached copy has only exceeded the expiration time by 10 seconds (110 - 100 = 10) and this time is less than the audiomaxstale value (10 < 25), the cache engine fetches “test.wav” from the server using GET.
Notes
None
Last updated