Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • C covid19india-react
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 27
    • Issues 27
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 11
    • Merge requests 11
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • covid19india
  • covid19india-react
  • Issues
  • #923
Closed
Open
Issue created Apr 10, 2020 by Administrator@rootContributor

Improve website speed on slow networks

Created by: 25prathamesh

covid-19 site loads slow on 3G mobile network it takes 5 second for first paint. lot of indian users are on slow network.

There are lot of things we can do but right now below are some quick fix -

  1. adding preconnect tags for www.googletagmanager.com & api.covid19india.org , so till css & javascript gets downloaded , dns & tcp connection will resolved for this domain , this will remove waiting time
  2. lossless compression for images , example icon.png file is 18Kb if lossless compression applied it will be 5kb only
  3. add font-display:swap; property while defining fonts , swap property will ensure rendering will not blocked till fonts file gets downloaded. browser will render with system font & once font downloaded it will applied on texts. covid19_waterfall
Assignee
Assign to
Time tracking