performance improvements for homepage