Add max JSON length config, client cache & urlCompression settings again