I am making a full stack web site for an online store as a pet project. There will be cards with categories on the main page and I have a question, do I need to make a database query through the back in order to take the names and pictures for the categories on front or is it better to have assets where I will have an array with objects with the names and pictures of the categories for my front and also separately entity categories in the database