simple optimizations for index page