Skip to content

Question - Auto Load Service Providers #121

@silicahd

Description

@silicahd

I was using another module package "nwidart/laravel-modules". It was great until we started to run into speed issues. We realized that every time we create a new module the load time of the website will increase by 0.5s we have a site now where the boot time is at 2.78s on top of anything else. After doing some tests we found that every request will auto-loads all module service providers even if they are not used. I noticed that your package has a composer in the module. Are the service providers loaded per module or are they all loaded at once for every request?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions