Open Closed

application-configuration api call is slow. #2748


User avatar
1
chris.tune@gmail.com created

Check the docs before asking a question: https://docs.abp.io/en/commercial/latest/ Check the samples, to see the basic tasks: https://docs.abp.io/en/commercial/latest/samples/index The exact solution to your question may have been answered before, please use the search on the homepage.

If you're creating a bug/problem report, please include followings:

  • ABP Framework version: v5.1.3
  • UI type: Angular
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): Microservices with angular
  • Exception message and stack trace:
  • Steps to reproduce the issue:"

Hi We've noticed that the application configuration call is taking a while on our app.

/api/abp/application-configuration

It's only loaded on the first load and a few other instances but it does make a significant impact on our load time. We have redis enable.

Is there any way this can be speeded up?


4 Answer(s)
  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    Hi,

    How I reproduce the problem,can you provide steps? thanks.

  • User Avatar
    0
    chris.tune@gmail.com created

    I don't think this is a 'reproduce' problem as such as it will happen on any install. I've just looked at the source code there is a TODO to optimize/cache.

    Just wondering if there is a way to improve this speed

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi chris

    Maybe your localization or permissions are too many, can you share the response json of this request? liming.ma@volosoft.com

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    You can try caching or removing some of the response content to confirm the reason.

Made with ❤️ on ABP v8.2.0-preview Updated on March 25, 2024, 15:11