zendframework / zf3-web

Website of Zend Framework 3
https://framework.zend.com
BSD 3-Clause "New" or "Revised" License
39 stars 34 forks source link

Improve PageSpeed Insights #80

Open michalbundyra opened 7 years ago

michalbundyra commented 7 years ago

https://developers.google.com/speed/pagespeed/insights/?hl=en&url=https%3A%2F%2Fframework.zend.com%2F&tab=mobile

It's not impressive right now: Mobile: Poor 51 / 100 Desktop: Poor 64 / 100

I've optimized images in PR #79

We need enable gzip compression for static resources like CSS, JS, SVG, images (?) ... and add expiry header for static resources. It should be easily done on server configuration.

About enabling gzip compression on nginx: https://stackoverflow.com/a/12644530