incubator-pagespeed-ngx
incubator-pagespeed-ngx copied to clipboard
how to check pagespeed optimized content or not??
Hi It depend of what filter are you using. If you are using flters related to images, the url must be rewrited and add some thing like https://you.url/myimage.jpg.ic.pagespeed.HASH.webp (or jpg) same with css files. If you has enabled filters to inline things you an se css,js or images inlined in the html. You can see at the http headers some like x-page-speed: (pagespeed version)
that means if pagespeed optimized jpg without
Hi It depend of what filter are you using. If you are using flters related to images, the url must be rewrited and add some thing like https://you.url/myimage.jpg.ic.pagespeed.HASH.webp (or jpg) same with css files. If you has enabled filters to inline things you an se css,js or images inlined in the html. You can see at the http headers some like x-page-speed: (pagespeed version)
that means if pagespeed convert(optimized) jpeg to webp without rewriting html, will be added x-page-speed header to webp response??
Hi yes if the image is converted from jpg to webp, the header is here. But a image can be converted to webp or not (depend on headers requested by brownser) but (it depend on enabled filter) maybe rewited to other jpg file (adjusting size to the rendered dimensions, for example). But not only images are optimized, the cache life time for a pdf file can be extended to a year, so the url is rewrited too. I don´t understand what you mean with "...without rewriting html...". The html is rewited by pagespeed module to set these news url. All files that are optimized by pagespeed module have the header x-pagespeed: (version).