bigretromike commented on issue #1755:
URL: 
https://github.com/apache/incubator-pagespeed-ngx/issues/1755#issuecomment-1335387142

   > What do you see in the logs files about this with debug enabled? 
https://mydomain.com/wp-content/plugins/smart-slider-3/Public/SmartSlider3/Application/Frontend/Assets/dist/smartslider.min.css?ver=23139749
   > 
   > in the <!--Summary computation status for CriticalCssBeacon the message 
says:
   > 
   > Cannot create resource: either its domain is unauthorized and 
InlineUnauthorizedResources is not enabled, or it cannot be fetched (check the 
server logs)
   > 
   > In other hand, have you tried some like this add_header 
Content-Security-Policy upgrade-insecure-requests; ?
   
   smartslider is excluded from pagespeed because of the compatibility issues, 
I have done it via:
   ```
           # disable minify etc...
           pagespeed Allow "*";
           pagespeed Disallow "*.svg*";
           pagespeed Disallow "*.php*";
           pagespeed Allow "*.js*";
           pagespeed Allow "*.js?ver=*";
           pagespeed Allow "*.css*";
           pagespeed Allow "*.css?ver=*";
           pagespeed Allow "/wp-content/plugins/*";
           pagespeed Disallow "https://mydomain.com/*.pagespeed.*.js";;
           pagespeed Disallow "*/js/jquery/jquery.js*";
           pagespeed Disallow "*/js/jquery/jquery.min.js*";
           pagespeed Disallow "*/wp-content/plugins/smart-slider-3/*";
           pagespeed Disallow "*/seal.js*";
           pagespeed Disallow 
"*/kirki/modules/webfont-loader/vendor-typekit/webfontloader.js*";
           pagespeed Disallow "*/wp-includes/js/dist/*";
           pagespeed Disallow "*/wp-includes/js/tinymce/*";
           # disable minify css
           pagespeed Disallow "*/wp-content/cache/*";
           pagespeed Disallow "*/wp-content/uploads/*";
           pagespeed Allow "*/wp-content/uploads/2021/*";
           pagespeed Allow "*/wp-content/uploads/2022/*";
           pagespeed Allow "*/wp-content/uploads/2023/*";
           pagespeed Disallow "*/admin-bar.min.css*";
           pagespeed Disallow "*/dashicons.min.css*";
           pagespeed Disallow "/wp-admin*";
           pagespeed Disallow "/wp-login.php*";
           pagespeed Disallow "/admin/*";
   ```


-- 
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.

To unsubscribe, e-mail: dev-unsubscr...@pagespeed.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to