-
Notifications
You must be signed in to change notification settings - Fork 8
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
♻️ App Router migration - Homepage #3159
Comments
🚧In progress: ✅ Home page is served from App Routing |
Remaining tasks:
|
Created a separate issue for the remaining tasks - #3186 |
After merging the PR, I discovered an issue with cumulative layout shift (CLS), leading to poor performance on desktop. I'm currently investigating the cause. |
@wicksipedia @bradystroud @Calinator444 @jeoffreyfischer The performance on production has not improved but has actually deteriorated. The app service slot shows the same performance; however, when the traffic is routed through Cloudflare, it introduces delays and cumulative layout shifts. I tested the build locally with throttling (4G slow), and it works fine. The issue only appears when served via Cloudflare. I suspect this could be due to the Brotli compression used by default on Cloudflare, whereas Next.js already returns compressed Gzip for the HTML. I will investigate this further to find the root cause and resolve the issue. |
@wicksipedia @bradystroud @Calinator444 @jeoffreyfischer I've discovered that the Carousel is being loaded twice, but this only happens when served through Cloudflare. I've been attempting to reproduce the issue locally using Nginx, but the occurrence is significantly lower compared to Cloudflare. Based on the screenshot, it appears the client is making a second call for the Carousel images. I'll continue investigating to understand why this behavior is unique to Cloudflare and determine how to prevent these duplicate requests.
|
Description
Currently our Website is using Page Router. This results in a huge bundle size which results in a slower UX on the website.
Tasks
The text was updated successfully, but these errors were encountered: