Skip to content

[PERFORMANCE] Performance audit and optimization for landing page and critical routes #36

@bhoomiiee

Description

@bhoomiiee

Performance Issue Description

The website has not undergone a formal performance audit, and there may be opportunities to improve initial page load time, JavaScript bundle size, and rendering performance.

During local development and inspection, some sections appear to load more resources than necessary during the initial render, which could impact first-time users and SEO.

Type of Performance Issue (Optional)

Large bundle size

Affected Page/Section (Optional)

Homepage (landing page) and shared layout components

How Often Does This Occur? (Optional)

Always/Every time

Performance Metrics

Baseline metrics to be collected using Lighthouse:

  • Performance score: To be measured
  • Largest Contentful Paint (LCP): To be measured
  • Total Blocking Time (TBT): To be measured
  • JavaScript bundle size: To be analyzed

Before and after metrics will be documented in the pull request.

Steps to Reproduce (Optional)

  1. Start the development server using npm run dev
  2. Open the homepage in a browser
  3. Run Lighthouse audit using Chrome DevTools
  4. Observe performance metrics and bundle size warnings

Browser (Optional)

Chrome

Device Type (Optional)

Desktop/Laptop

Internet Connection Speed (Optional)

Fast (50+ Mbps)

Suggested Fix (Optional)

Potential optimizations include:

  • Running a Lighthouse performance audit to identify bottlenecks
  • Optimizing images using Next.js next/image
  • Lazy-loading non-critical components using dynamic imports
  • Reducing unnecessary JavaScript in the initial bundle
  • Documenting before/after performance improvements

Before Submitting

  • I have searched existing issues for similar performance problems
  • This issue is specifically about performance (not general bugs)
  • I have tested on a stable internet connection

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions