• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Register
  • Login
Bagisto Forum

Bagisto

  • Register
  • Login
  • Search
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups

api/prodcuts getting very slow

Bug Report
2
2
447
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M
    Megalight last edited by 14 Apr 2021, 13:15

    When I get products via api/products, I got results after 2 seconds, call into bagsito demo store to get api/products get 1.8 seconds it's very slow. How can we optimize this result?

    1 Reply Last reply Reply Quote 0
    • devansh-webkul
      devansh-webkul last edited by 14 Apr 2021, 13:29

      Hi @Megalight,

      There is a product_attribute_values table which takes more time.

      If you don't have to work with the attribute and that attribute is already present in the product_flat table then you can use the product_flat table so that maximum join queries can be avoided.

      1 Reply Last reply Reply Quote 0
      2 out of 2
      • First post
        2/2
        Last post