apache / incubator-pagespeed-mod

Apache module for rewriting web pages to reduce latency and bandwidth.
http://modpagespeed.com
Apache License 2.0
696 stars 158 forks source link

CSS file with @font-face not getting minified #1551

Open jr-RXcode opened 7 years ago

jr-RXcode commented 7 years ago

I am trying out mod_pagespeed for a website and looks like the file that contains the the font css (@font-face) is not getting minified. When I enable debug i see the following message in the source file ><!--4xx status code, preventing rewriting of https://domain.com. Only 1 of 3 css files are being minified. I also see a warning message saying inflation failure, size=-1. Any advice on what might be happening. I'm using version 1.11.33.4-0

oschaaf commented 7 years ago

It looks like mod_pagespeed is having trouble fetching its inputs. You may want to read https://modpagespeed.com/doc/https_support and see if you can use LoadFromFile or MapOriginDomain to fix that.

The inflation failure is interesting, it may be worth trying to upgrade to 1.12.34.2 to see if that is resolved (I suspect it is).