generator-jhipster icon indicating copy to clipboard operation
generator-jhipster copied to clipboard

Improve performance of website on mobile

Open mraible opened this issue 1 year ago • 3 comments

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

mraible avatar Aug 29 '24 17:08 mraible

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((

SvMak avatar Sep 18 '24 13:09 SvMak

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.

mraible avatar Sep 18 '24 14:09 mraible

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

SvMak avatar Sep 20 '24 19:09 SvMak

This issue is stale because it has been open for too long without any activity. Due to the moving nature of jhipster generated application, bugs can become invalid. If this issue still applies please comment otherwise it will be closed in 7 days

github-actions[bot] avatar Mar 20 '25 00:03 github-actions[bot]