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

Improve performance of website on mobile #27122

Open
mraible opened this issue Aug 29, 2024 · 3 comments
Open

Improve performance of website on mobile #27122

mraible opened this issue Aug 29, 2024 · 3 comments

Comments

@mraible
Copy link
Contributor

mraible commented Aug 29, 2024

Overview of the feature request

I tested the new site with PageSpeed Insights this morning and found the mobile version is awesome at everything but peformance (50/100).

Screenshot 2024-08-29 at 11 30 25 AM
Motivation for or Use Case

The desktop version scores well, so this makes me think it might be easy to optimize the mobile version.

Screenshot 2024-08-29 at 11 30 18 AM

PageSpeed Report: https://pagespeed.web.dev/analysis/https-www-jhipster-tech/rn2759m67h?form_factor=mobile

@SvMak
Copy link

SvMak commented Sep 18, 2024

Screenshot 2024-09-18 151029

The main optimization problem is in the main chunk, the number of pages increases the size of this file (routes.js, registry.js, etc.) and this causes performance issue. Now I'm still research way to solve this issue((

@mraible
Copy link
Contributor Author

mraible commented Sep 18, 2024

Now we're up to 53.

Screenshot 2024-09-18 at 08 16 14

I suppose this is expected since Jekyll (the old site) generates a static website, and Docusaurus (the new site) generates a SPA. Everything loads so fast locally that I thought Docusaurus was a static site generator.

@SvMak
Copy link

SvMak commented Sep 20, 2024

I'm tracking this issue in both Docusaurus and react-router-dom, I think we can find a solution to this issue.

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

No branches or pull requests

2 participants