optimization response for index & detail page