Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enhancement for public accessible core-common.js #38502

Closed
technout opened this issue May 29, 2023 · 1 comment
Closed

Enhancement for public accessible core-common.js #38502

technout opened this issue May 29, 2023 · 1 comment
Labels
0. Needs triage Pending check for reproducibility or if it fits our roadmap enhancement technical debt

Comments

@technout
Copy link

technout commented May 29, 2023

How to use GitHub

  • Please use the 👍 reaction to show that you are interested into the same feature.
  • Please don't comment if you have no relevant information to add. It's just extra noise for everyone subscribed to this issue.
  • Subscribe to receive notifications on status change and new comments.

Problem description
Because of the large file size of 13,5 MB (/dist/core-common.js), this file should only be requested by logged in clients.
But first a big thank you for this great product and hard work of the Nextcloud team!

When i check the bandwidth statistics for this specific file on my Nextcloud server (for a period of 6 weeks when no shares were open and all users were temporary blocked) - i noticed a very high bandwidth usage, specific from request to this file. This costs hundreds of megabytes a day! Maybe by some search engine crawlers, or botnets?

Describe the solution you'd like
I try to maintain a low bandwidth profile on my servers. When this 13,5 MB library is only requested by logged in clients, there will be less bandwidth used and the server will use less energy over the long run.

Additional context
My current Nextcloud version: 25.0.6
Operating system and version: Ubuntu 22.04
Apache or nginx version: Apache 2.4.25
PHP version: 8.0

I noticed this pull request for version 28: Optimize webpack chunking - #38329
This can be an enhancement for Nextcloud 29?

@technout technout added 0. Needs triage Pending check for reproducibility or if it fits our roadmap enhancement labels May 29, 2023
@kesselb
Copy link
Contributor

kesselb commented Jun 29, 2023

Thanks for your feature request 👍

dist/core-common.js is 1,4mb on Nextcloud 28.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0. Needs triage Pending check for reproducibility or if it fits our roadmap enhancement technical debt
Projects
None yet
Development

No branches or pull requests

3 participants