Mobile app version of vmapp.org
Login or Join
Rivera981

: Google PageSpeed: Generating critical css for css file served from CDN We were trying to optimise the website using google pagespeed and now having some issue: We're using nginx_pagespeed module

@Rivera981

Posted in: #Cdn #PageSpeed

We were trying to optimise the website using google pagespeed and now having some issue:


We're using nginx_pagespeed module
Trying to enable the prioritize_critical_css filter
Since the CSS files are loading from external CDN domain, the critical css filter is not working.
When ran with the ?PageSpeedFilters=debug, the following error is generated in the html source

Summary computation status for CriticalCssBeacon

Resource 0 mycdndomain.com/styles/screen-2d470013.css: Cannot create resource: either its domain is unauthorized and InlineUnauthorizedResources is not enabled, or it cannot be fetched (check the server logs)


Where mycdndomain is our CDN domain.

Can someone help me fixing this issue. What nginx pagespeed configuration changes are required ?

Also what is the InlineUnauthorizedResources ?

10% popularity Vote Up Vote Down


Login to follow query

More posts by @Rivera981

0 Comments

Sorted by latest first Latest Oldest Best

Back to top | Use Dark Theme