You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 10, 2025. It is now read-only.
Repository navigation
This repository was archived by the owner on Apr 10, 2025. It is now read-only.
Pagespeed eats CSS font-face declarations when defined in imported files #1222
Note that this is missing the @font-face declaration. This example is minified. The @font-face actually contains source identifiers and the like. The main css file is longer (so it is not inlined), however the same issue happens. The URLs are retrievable, it works on the first load after a cache flush (before minification) and when pagespeed is disabled via the URL.
Given the following configuration:
And the following files:
test.html:
main.css:
sub.css:
nginx pagespeed yields:
Note that this is missing the @font-face declaration. This example is minified. The @font-face actually contains source identifiers and the like. The main css file is longer (so it is not inlined), however the same issue happens. The URLs are retrievable, it works on the first load after a cache flush (before minification) and when pagespeed is disabled via the URL.