For Speed Optimization, need to enable Flat Catalog
There are following below Admin steps.
- Go To Admin
- On the Admin Panel
- Stores > Settings > Configurations
- On the left panel, under Catalog, select Catalog
- Open the Storefront section
- Choose Yes in the Use Flat Catalog Category field.
- Choose Yes in the Use Flat Catalog Product field.