• Resolved Hlsg

    (@hlsg)


    Hello,

    CSS HTTP/2 Push combined with:

    
    wp_enqueue_style('googleFonts', 'https://fonts.googleapis.com/css?family=Roboto:100,100i,300,300i,400,400i,500,500i,700,700i,900,900i&display=swap&subset=latin-ext' , array(), null);
    

    results in:

    
    link: </css?family=Barlow:100,100i,200,200i,300,300i,400,400i,500,500i,600,600i,700,700i,800,800i,900,900i|Teko:300,400,500,600,700&>; rel=preload; as=style,</wp-content/themes/2ride19/library/css/style.css?3e732b30edd9d8b2>; rel=preload; as=style ...
    

    Chrome therefore tries to get domain.com/css?family=Barlow:100.. and this results in a console error and this warning: Resource interpreted as Stylesheet but transferred with MIME type text/html..

    IMHO, LiteSpeed Cache should not push external resources at all.

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘HTTP/2 Push pushes 3rd party resources as local’ is closed to new replies.