web: perf improvements