title: What is the correct way to construct categories using Laravel
body: <p>We have a digital platform whose function is to enable the user to create an online store on his own</p>
  <p>We are facing a problem with the categories. They are built in, but they take a very long time to load on the browser</p>
  <p>What is the correct way to build it lightly and suitable for server and browser</p>
  <p><a href="https://i.stack.imgur.com/CcIS7.png" rel="nofollow noreferrer">Screenshot to show the time taken</a></p>