Open Closed

ApplicationConfigurationScript is taking long time to fetch #5745


User avatar
0
viswajwalith created
  • ABP Framework version: v5.1.3
  • UI Type: MVC
  • Database System: SQL Server / MongoDB
  • Tiered (for MVC) or Auth Server Separated (for Angular): yes
  • Exception message and full stack trace:
  • Steps to reproduce the issue:

Every time My application is calling Abp/ApplicationConfigurationScript and it has lots of information due to multiple services. is there any best way to cache this and reduce the loading time from next time?


3 Answer(s)
  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    You can override this service to cache the result.

    https://github.com/abpframework/abp/blob/dev/framework/src/Volo.Abp.AspNetCore.Mvc/Volo/Abp/AspNetCore/Mvc/ApplicationConfigurations/AbpApplicationConfigurationAppService.cs#L86

  • User Avatar
    0
    viswajwalith created

    hi

    You can override this service to cache the result.

    https://github.com/abpframework/abp/blob/dev/framework/src/Volo.Abp.AspNetCore.Mvc/Volo/Abp/AspNetCore/Mvc/ApplicationConfigurations/AbpApplicationConfigurationAppService.cs#L86

    Thanks for the input, but I think we had to cache based on user right ???

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    Yes, because the result include the CurrentUser

Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
Do you need assistance from an ABP expert?
Schedule a Meeting
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v9.2.0-preview. Updated on March 20, 2025, 18:00