Bind to ResourceLoaderModifyMaxAge hook and modify TTL when needed