DEV Community


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

markgoho profile image
Mark Goho • Edited

Tip #0: Use to get real measurements:

"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.

cmcodes profile image
C M Pandey Author

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