Added config for pipeline encoding and cache ttl.