abp icon indicating copy to clipboard operation
abp copied to clipboard

Website loading becomes slow due to large application-localization content?

Open shuangbaojun opened this issue 8 months ago • 5 comments

Is there an existing issue for this?

  • [x] I have searched the existing issues

Description

Framework:ABP 8.3.4 UI:Blazor

In the ABP framework, application-localization is used to manage multilingual resources. If your resource files (such as JSON) become too large and cause the website to load slowly, is there currently a good solution to this problem?

Reproduction Steps

No response

Expected behavior

No response

Actual behavior

No response

Regression?

No response

Known Workarounds

No response

Version

8.3.4

User Interface

Common (Default)

Database Provider

EF Core (Default)

Tiered or separate authentication server

None (Default)

Operation System

Windows (Default)

Other information

No response

shuangbaojun avatar May 06 '25 06:05 shuangbaojun

What is the response time and size of api/abp/application-localization endpoint?

maliming avatar May 06 '25 06:05 maliming

Image The content is around 16MB. From a business perspective, we've simplified it by removing some redundant resources.

shuangbaojun avatar May 06 '25 06:05 shuangbaojun

What resources inside have 16 MB?

Can you share the JSON output?

maliming avatar May 06 '25 12:05 maliming

There are around 16 resources divided inside, and it's a monolithic application. This morning, we performed compression, and the compressed file is currently around 6MB. The loading speed is acceptable for now, but I have a concern: as time goes on and the business grows, the size of this file will continue to increase.

shuangbaojun avatar May 07 '25 06:05 shuangbaojun

Can you share the JSON output?

maliming avatar May 08 '25 00:05 maliming

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Jul 18 '25 23:07 stale[bot]