favor the lessor of the configured cache-ttl or the max-age, add an abs-cache-ttl to be forced cache ttl, and add cache_ttl and abs_cache_ttl url params to set it per req

This commit is contained in:
Anthony Minessale
2013-04-23 15:52:17 -05:00
parent e1c325dcb5
commit d049b71ca7
2 changed files with 37 additions and 4 deletions
@@ -295,6 +295,8 @@ CONFIGURATION:
<param name="" value="">
debug : <true|false> false Print debug data
file-cache-ttl : <number of sec> 300 How long to wait before checking the server to see if audio file has changed.
Whichever is smaller that or the max-age returned by the server (if present).
abs-file-cache-ttl : <number of sec> 0 Force the cache time no matter what anything else says.
file-not-found-expires : <number of sec> 300 How long to still preserve cached audio files that are not found by the server.
<profile name="<name>"> : CREATE NEW PROFILE TO REFERENCE BY NAME