KimleyHorn / SigOpsMetrics

GNU General Public License v3.0
0 stars 1 forks source link

PageSpeed Insights #45

Closed markKHA closed 3 years ago

markKHA commented 3 years ago

I ran the site through PageSpeed Insights to see how we were doing. They had a few recommendations: https://developers.google.com/speed/pagespeed/insights/?url=http%3A%2F%2Fsigops-test.s3-website-us-east-1.amazonaws.com%2F

Two that stood out to me were: 1) Compression - Text-based resources should be served with compression (gzip, deflate or brotli) to minimize total network bytes. 2) Minify Javascript - Minifying JavaScript files can reduce payload sizes and script parse time.

They also called out the size of our main.js and recommended removing unused JavaScript (it's 6 MB). I'm hoping that compressing and minifying the file will shrink that considerably, but we can definitely explore removing anything that's not being used.