support new prefer_s3_links
config property
#591
Merged
prefer_s3_links
config property
#591