Do you have quite a big collection or anything ? Or do you have any scripts running in boostrap.js that’s what normally startup and takes time during startup
Should not matter to much iirc.
But again one question I asked in both replies and still not answered but does matter for startup time is. Has bootstrap.js been modified added any scripts etc?
'use strict';
/**
* An asynchronous bootstrap function that runs before
* your application gets started.
*
* This gives you an opportunity to set up your data model,
* run jobs, or perform some special logic.
*
* See more details here: https://strapi.io/documentation/developer-docs/latest/setup-deployment-guides/configurations.html#bootstrap
*/
module.exports = () => {};
This is empty file. So Acually we dont know, what is causing this.
Thanks. I will check that also one thing when I am connecting to empty mongo db strapi is compiling way fast, but with db of size 20 mb is taking avg 8 min to reload or start.
35 isn’t bad honestly my own personal hobby project has over 90
Moving from Mongo to basically any other database will help yes.
There is no migration path yet from v3 to v4 and we are working on that but yes it will also help.