add config switch for read-only headername-cache