How to disable auto-populate in strapiV4?

System Information
  • Strapi Version: 4.0.5
  • Operating System: macos / windows
  • Database: mysql
  • Node Version: 14.17.5
  • Yarn Version: 1.22.10

Hi dev’s :wave:t3:

I’ve recently migrate on strapiV4. But, strapi can be very slow on administration panel when I’ve lot of data in my database. Why ?

I think strapi auto populate all relational fields, and relational fields of first relational fields…

For example, I’ve a user collection. Each user have a family and family have members, so when I ask to strapi on admin panel to retrieve user, strapi get all informations about asked user, but also all informations of relational family and also all relational fields of family.

So this behavior cause bad performance where application is deploy in production because I’ve lot of data and relational fields attached to some collections and administration panel become very slow…

I’ve try to find a solution on strapi documentation but I didn’t found anything for v4. On v3, autopopulate: false can be an option to disable this behavior seems to me…

How can I fix this please ? Thank’s

Hi @MaximeLeBerre

I believe a fix was done for this not too long ago.

Maby updating to the latest version of Strapi wil fix this issue for you.

hi @boaz , thank’s for your attention.

I watched strapi release repository but I didn’t find anything…

I will try to update to latest strapi version, we will see :man_shrugging:t2:

I tried to update strapi version but nothing new :unamused: