0: CSS

Some Pagespeed Score Problems

Use WebP always as it is better both than JPEG and PNG.

  • All in all, I’d say that google’s claims are valid - it’s a compression schema that does seem to outperform jpg.

Fix shit with:

https://developers.google.com/speed/pagespeed/insights/?url=www.save-up.at


Noviteti pagespeed: https://developers.google.com/speed/pagespeed/module/release_notes

Preload, AMP

  • Redis Support?
  • Allow combining stylesheets with IDs (done)
  • Add preload hints (coldn’t detect them)
  • Maybe some workable AMP - Minimal AMP support: don’t invalidate AMP (done)
  • Configures the length of time the prioritize_critical_css beacons are valid.
  • Set s-maxage

0: CSS

This also is at the end done and rewritten

https://github.com/pagespeed/ngx_pagespeed/issues/1304 woow? the reason was: “

not minifying?

Hm, that is odd. If I request this page from the command line (using curl), I get the fully minified/rewritten version, if I do it from Chrome, I get the non-minified version (as you mentioned).

Confirmed, this is User-Agent-dependant:

Disabling domain re-writing to CDN fixes it?

Maks, n.css does contain @import (in a comment). That’s why they are not combined.

https://github.com/pagespeed/mod_pagespeed/issues/623

1: PNG

They are at the end converted to WebP, so this is not problem

https://developers.google.com/speed/pagespeed/module/reference-image-optimize#convert_jpeg_to_progressive https://developers.google.com/speed/pagespeed/module/filter-image-optimize https://developers.google.com/speed/pagespeed/module/config_filters

FIXED NOT! 2: SVG & GZip

Well, finally fixed when I disabled pagespeed totaly for svg!

It was something in gzip.conf but I also had browser cache so changes were not propagated, and therefore I was confused.

I finally get it! SVG in pagespeed is not treated as other images so filter like extend_cache (signing URLs with a content hash to bust cache). https://github.com/pagespeed/mod_pagespeed/issues/1221 So for the SVG, until automated, you must do it manually, signing it by modification date.

using PHP filemtime but for now - I won’t do it.

Files: https://www.save-up.ch/wp-content/uploads/2015/11/saveup-logo.svg on .AT its working: https://www.save-up.at/content/uploads/2015/11/saveup-logo.svg

JUST TEST IT WITH QUERY LINK HIS: https://www.save-up.ch/wp-content/uploads/2015/12/beauty.svg?sisa

application/javascript image/svg+xml

https://laracasts.com/discuss/channels/general-discussion/enabling-gzip-with-nginx-and-verifying-that-its-working

https://github.com/h5bp/server-configs-nginx/blob/cb3dc0554eb54ccfab34bfcf32988dfce1872ec2/nginx.conf

https://www.google.rs/search?q=gzip+deflate+svg&rlz=1C1FGUR_enRS716RS716&oq=gzip+deflate+svg&aqs=chrome..69i57.3328j0j7&sourceid=chrome&ie=UTF-8#q=gzip+deflate+svg+nginx https://mattstauffer.co/blog/enabling-gzip-on-nginx-servers-including-laravel-forge

CheckGzipCompression.com https://redbot.org/

http://checkgzipcompression.com/?url=https://www.save-up.ch/wp-content/uploads/2015/11/saveup-logo.svg

Simple script at the end: http://stackoverflow.com/questions/9140178/how-can-i-tell-if-my-server-is-serving-gzipped-content

date 20. Dec 2016 | modified 10. Jun 2024
filename: Performance » Pagespeed Score Misc