Lofesa commented on issue #1697: URL: https://github.com/apache/incubator-pagespeed-ngx/issues/1697#issuecomment-658764918
`prioritize_critical_css` works removing the css file link, change it by a css snipet (those used above the fold) and then puy a javascript snipet at the bottom of the page wirh an onload event to load the rewrited css files. You are viewing 2 css files both w/o any rewrite by pagespeed? I ask for that because maybe you have a preload hint in the http headers, not in the code. In this case, the browser load these files 2 times, 1 not rewrited by pagespeed (cause pagespeed don“t rewrite link headers) and 1 more time because the css (rewrited by pagespeed) is loaded in the code. These 2 files are different because in the header link is the original (https://yoursite.com/some-path/file.css) and in the html code the file is loaded with a different url ( https://yoursite.com/some-path/file.css.ce.pagespeed.HASHCHAIN.css). Can you share a url to test? ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org