Open Closed

ApplicationConfigurationScript and ServiceProxyScript always load or cache #3721


User avatar
0
TM4e created

Is ApplicationConfigurationScript and ServiceProxyScript scripts always load or cache? Is it possible to cache on the client side and won't load on every page? Thanks in advance.

Markdown supported.
Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)

2 Answer(s)
  • User Avatar
    0
    TM4e created

    This is my current approach. I copied the output and create JavaScript files for them. Any issue with this approach? Thanks.

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • User Avatar
    0
    liangshiwei created
    Fullstack Developer

    Hi,

    This is ok, but the service proxy and application configuration maybe change, like, you create a new feature, permission, or app service. You must re-copied the JavaScript file again.

    You can use the ApplicationConfigurationScript and ServiceProxyScript endponts for developement and replace it with JS file for production.

    And we have a static JS proxy system, you can check it: https://docs.abp.io/en/abp/latest/UI/AspNetCore/Static-JavaScript-Proxies

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v10.8.0-preview. Updated on September 16, 2026, 14:50
1
ABP Assistant
🔐 You need to be logged in to use the chatbot. Please log in first.