WebPortal: optimizations