-
Notifications
You must be signed in to change notification settings - Fork 0
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
Blog/home page: Improve core web vitals #99
Comments
It might not be trivial to improve FCP in appDir: |
If we can optimize the import of CSS, then hljs (CSS + JS), perhaps LCP will decrease. Or is it simply due to sheer length and need lazy loading? |
If it is not trivial to add inline critical CSS, then we can consider purging (PurgeCSS) or minifying CSS (CSS Nano). CSS Nano does not seems to work with Next.js, because CSS Nano is internally used by Next.js (big question mark? Only applied to |
…ion between PrimeReact and Tailwind, related to #99
In fd4c940, it seems either due to Besides, removing PrimeReact
|
We will go ahead and finish the optimization process here. There are still 2 unresolved issues, which will be for future tasks.
|
* chore: bump packages * chore: mark development tasks as no-cache and non-persistent * chore: bump packages * feat: add self-host container for mongodb, relates to #93 * feat: expose containers to only localhost (#94) * feat: optimize indexes to improve performance, relates to #93 * feat: closes #78, enable AVIF image support * chore: change some parameters to improve experience in development environement * fix: closes #88, prevent long string overflows * feat: use animated SVG background, related to #92 * feat: closes #92, overhaul article page UI to improve accessibility and make theme suitable with animated background * fix: closes #84, increase line height * fix: closes #89, make letters start at the same place in ordered list, and align ol with ul * feat: closes #91, overhaul blog page UI and make it SSR * chore: bump packages * chore: bump Geist font to v1.2.0, and rename files * fix: closes #101, now code snippet uses GeistMono font * feat: load SVG background via next/image to utilize optimization (preload LCP), related to #99 * feat: enforce cache-control on Next.js, relates to #98 * feat: minimize highlight.js import, and change CSS import location, related to #99 * feat: disable external page prefetch, related to #99 * fix: bundle public folder in production * fix: closes #102, CSS layer order issue * feat: make divider appear on lg screen and make it dimmer * feat: adjust navbar color and border to further emphasize articles * feat: multiple adjusment to text and border, divider color to increase separation and readability * fix: closes #103, make toast message bottom-center, and remove white border * feat: adjust font size to improve readability * feat: remove primeicons to reduce bundle size (blocking and unused CSS), related to #99 * chore: bump packages * fix: disable AVIF support in an attempt to resolve #105 * fix: remove redundant scrollbar in main page * feat: use native browser scroll to reduce bundled JS size, related to #99 * feat: massively remove unused CSS bytes by reconfiguring the interaction between PrimeReact and Tailwind, related to #99
Avoid an excessive DOM size(cut in half by UI overhaul in Move blog (home) page to server component #91 and Consider the use of animated svg (created), for background. #92)Minimize main-thread work(largely reduced by SRR in Move blog (home) page to server component #91)Reduce JavaScript execution time(largely reduced by SRR in Move blog (home) page to server component #91)Avoid long main-thread task(largely reduced) by SRR in Move blog (home) page to server component #91)/The text was updated successfully, but these errors were encountered: