-
-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Optimize js files sent #9553
Comments
Closing in favor of those referenced issues |
feels sad, looks I've provided a bit more 'up to date' details / insights in this one. |
No worries, it's not for nothing! The referenced issues do link back to this one so we will not lose sight of the details in here. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the problem
My goal is to optimize the payloads and reduce the number of requests in a prod build.
Here are the requests on a page load from the route
routes/[...catchall]
:My rollupOptions that reduces the number of chunks are the following:
In the previous capture
m.xxx.js
are the merged chunks.We can see those extra js files:
start.xxx.js
app.xxx.js
_layout.svelte.xxx.js
_...catchall_-page.svelte.xxx.js
0.xxx.js
1.xxx.js
2.xxx.js
Also some of them are nearly empty and probably don't require an extra request.
The page loaded is from [...catchall] route:
Describe the proposed solution
Remove / merge as much js files as possible.
Alternatives considered
No response
Importance
would make my life easier
Additional Information
No response
The text was updated successfully, but these errors were encountered: