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

[Feature request] Loading of v2.vuepress.vuejs.org makes 242 requests #1003

Closed
vmihailenco opened this issue Jul 29, 2022 · 2 comments
Closed
Labels
discussion Discussion

Comments

@vmihailenco
Copy link

vmihailenco commented Jul 29, 2022

Clear and concise description of the problem

Loading https://v2.vuepress.vuejs.org/ without a cache makes 242 requests (both with Webpack and Vite)

vuepress-requests

Loading https://vitepress.vuejs.org/ without a cache makes only 12 requests

vitepress-requests

I can't be sure that the number of requests is the problem, but i am getting a lot of "500 Internal Server Error" responses from AWS CloudFront when initially loading the generated documentation. Just reloading the site fixes the problem so caching helps.

Suggested solution

Reduce the number of requested files to 10-20 like VitePress does.

Alternative

No response

Additional context

No response

@Mister-Hope Mister-Hope added the discussion Discussion label Jul 29, 2022
@Mister-Hope
Copy link
Member

Also you may check #952 and #953

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
discussion Discussion
Projects
None yet
Development

No branches or pull requests

2 participants