PageSpeed comes in two flavors : a Chrome extension, an Apache module and a NGINX module.
The first one provides you with a great analysis tool of your current sites. The second does almost all the optimization for you. It is pure voodoo. Google has done a tremendous job. Thanks a lot.