DEV Community

Discussion on: My website now loads in less than 1 sec! Here's how I did it! ⚡

Collapse
 
markgoho profile image
Mark Goho • Edited

Tip #0: Use webpagetest.org to get real measurements: webpagetest.org/result/200709_JA_4...

"Loads in 2 seconds" isn't quite accurate since it looks like your best run was doc complete at about 4 seconds, while your repeat views are <1 sec (which is great).

Your lighthouse perf score was 73. Still a lot of work to do, but you're well on your way.

Make sure to take a look at the caching recommendations, those are going to be the lowest hanging fruit, although you might not have the ability to change this if using Github Hosting. I'd recommend something like Firebase Hosting which is free for your usage and allows for complete control over the static asset caching.

Collapse
 
cmcodes profile image
C M Pandey

Yeah! I should move to a dedicated hosting! Thanks for sharing this! 😊