You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pagespeed.apache.org by GitBox <gi...@apache.org> on 2020/07/13 13:54:33 UTC
[GitHub] [incubator-pagespeed-ngx] wfjsw opened a new issue #1697: prioritize_critical_css loads css twice
wfjsw opened a new issue #1697:
URL: https://github.com/apache/incubator-pagespeed-ngx/issues/1697
Version: 1.13.35.2-0
Configuration:
```
pagespeed on;
pagespeed FileCachePath /dev/shm/ngx_pagespeed_cache;
pagespeed Statistics on;
pagespeed StatisticsLogging on;
pagespeed LogDir /var/log/pagespeed;
pagespeed MemcachedServers "127.0.0.1:11211";
pagespeed EnableCachePurge on;
pagespeed PreserveUrlRelativity on;
pagespeed InPlaceResourceOptimization off;
pagespeed InPlaceSMaxAgeSec 604800;
pagespeed ModifyCachingHeaders off;
pagespeed FetchHttps enable;
pagespeed CssInlineMaxBytes 4096;
pagespeed JsInlineMaxBytes 16384;
pagespeed ImageRecompressionQuality 70;
pagespeed WebpRecompressionQuality 70;
pagespeed WebpRecompressionQualityForSmallScreens 60;
pagespeed RewriteLevel CoreFilters;
pagespeed EnableFilters prioritize_critical_css,inline_javascript,resize_images,resize_mobile_images,remove_comments,collapse_whitespace,insert_dns_prefetch,hint_preload_subresources,recompress_images;
```
I noticed the CSS files were loaded twice, which means the `prioritize_critical_css` did not remove the original <link> tags.
----------------------------------------------------------------
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:
users@infra.apache.org
[GitHub] [incubator-pagespeed-ngx] wfjsw edited a comment on issue #1697: prioritize_critical_css loads css twice
Posted by GitBox <gi...@apache.org>.
wfjsw edited a comment on issue #1697:
URL: https://github.com/apache/incubator-pagespeed-ngx/issues/1697#issuecomment-659455701
^^ I have provided the curl result without cloudflare there. Problem persists.
https://github.com/apache/incubator-pagespeed-ngx/issues/1697#issuecomment-659301893
You see there are two `dashicons-css`
----------------------------------------------------------------
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:
users@infra.apache.org
[GitHub] [incubator-pagespeed-ngx] wfjsw edited a comment on issue #1697: prioritize_critical_css loads css twice
Posted by GitBox <gi...@apache.org>.
wfjsw edited a comment on issue #1697:
URL: https://github.com/apache/incubator-pagespeed-ngx/issues/1697#issuecomment-659987230
It fetched once and loaded multiple times. If still confused, take these `<style>`s as an example instead of `<link>`s.
For example now we have 2 copies of `<style type="text/css" id="wp-custom-css">`.
----------------------------------------------------------------
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:
users@infra.apache.org
[GitHub] [incubator-pagespeed-ngx] Lofesa commented on issue #1697: prioritize_critical_css loads css twice
Posted by GitBox <gi...@apache.org>.
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:
users@infra.apache.org
[GitHub] [incubator-pagespeed-ngx] wfjsw commented on issue #1697: prioritize_critical_css loads css twice
Posted by GitBox <gi...@apache.org>.
wfjsw commented on issue #1697:
URL: https://github.com/apache/incubator-pagespeed-ngx/issues/1697#issuecomment-659366904
If these `Link` headers work, then I'll get 3 working copy of these CSS, but currently I only got 2.
URL rewriting is out of scope here as they re broken for weeks and fixed just now. In this process, the problem neither goes away nor changes behavior.
The specific problem I currently have, is while PageSpeed move these unimportant styles in the bottom of the page, there are still copies of these styles in <head>. They should be removed for this filter to actually work.
----------------------------------------------------------------
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:
users@infra.apache.org
[GitHub] [incubator-pagespeed-ngx] wfjsw edited a comment on issue #1697: prioritize_critical_css loads css twice
Posted by GitBox <gi...@apache.org>.
wfjsw edited a comment on issue #1697:
URL: https://github.com/apache/incubator-pagespeed-ngx/issues/1697#issuecomment-659991365
I'll give you a minimal code snippet to start with. Take the example located at [PageSpeed Docs](https://www.modpagespeed.com/doc/filter-prioritize-critical-css):
If the HTML document looks like this:
```
<html>
<head>
<style>
.blue {color: blue;}
</style>
<link rel="stylesheet" href="small.css">
</head>
<body>
<div class="blue">
Hello, world!
</div>
</body>
</html>
```
And the resource `small.css` is like this:
```
.yellow {background-color: yellow;}
.big { font-size: 8em; }
.bold { font-weight: bold; }
```
We expect PageSpeed to rewrite it into:
```
<html>
<head>
<style>
.blue{color:blue;}
</style>
</head>
<body>
<div class="blue">
Hello, world!
</div>
</body>
</html>
<noscript><link rel="stylesheet" href="small.css"></noscript>
```
However, now we are getting this instead:
```
<html>
<head>
<style>
.blue{color:blue;}
</style>
<link rel="stylesheet" href="small.css">
</head>
<body>
<div class="blue">
Hello, world!
</div>
</body>
</html>
<noscript><link rel="stylesheet" href="small.css"></noscript>
```
If things are getting worse, we may have:
```
<html>
<head>
<style>
.blue{color:blue;}
</style>
<link rel="stylesheet" href="small.css">
</head>
<body>
<div class="blue">
Hello, world!
</div>
</body>
</html>
<noscript>
<style>
.blue{color:blue;}
</style>
<link rel="stylesheet" href="small.css">
</noscript>
```
----------------------------------------------------------------
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:
users@infra.apache.org
[GitHub] [incubator-pagespeed-ngx] wfjsw commented on issue #1697: prioritize_critical_css loads css twice
Posted by GitBox <gi...@apache.org>.
wfjsw commented on issue #1697:
URL: https://github.com/apache/incubator-pagespeed-ngx/issues/1697#issuecomment-659991365
I'll give you a minimal code snippet to start with. Take the example located at [PageSpeed Docs](https://www.modpagespeed.com/doc/filter-prioritize-critical-css):
If the HTML document looks like this:
```
<html>
<head>
<style>
.blue {color: blue;}
</style>
<link rel="stylesheet" href="small.css">
</head>
<body>
<div class="blue">
Hello, world!
</div>
</body>
</html>
```
And the resource `small.css` is like this:
```
.yellow {background-color: yellow;}
.big { font-size: 8em; }
.bold { font-weight: bold; }
```
We expect PageSpeed to rewrite it into:
```
<html>
<head>
<style>
.blue{color:blue;}
</style>
</head>
<body>
<div class="blue">
Hello, world!
</div>
</body>
</html>
<noscript><link rel="stylesheet" href="small.css"></noscript>
```
However, now we are getting this instead:
```
<html>
<head>
<style>
.blue{color:blue;}
</style>
<link rel="stylesheet" href="small.css">
</head>
<body>
<div class="blue">
Hello, world!
</div>
</body>
</html>
<noscript><link rel="stylesheet" href="small.css"></noscript>
```
----------------------------------------------------------------
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:
users@infra.apache.org
[GitHub] [incubator-pagespeed-ngx] wfjsw commented on issue #1697: prioritize_critical_css loads css twice
Posted by GitBox <gi...@apache.org>.
wfjsw commented on issue #1697:
URL: https://github.com/apache/incubator-pagespeed-ngx/issues/1697#issuecomment-660151158
So why is it link css files multiple times? I understand that it extracts a few rules in `<style>` and load the rest in the bottom of the page, but there are `<link>`s duplicated as-is in these two places. Is there any specific reasons or restrictions that prevents deduping these `<link>` tags?
----------------------------------------------------------------
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:
users@infra.apache.org
[GitHub] [incubator-pagespeed-ngx] wfjsw closed issue #1697: prioritize_critical_css loads css twice
Posted by GitBox <gi...@apache.org>.
wfjsw closed issue #1697:
URL: https://github.com/apache/incubator-pagespeed-ngx/issues/1697
----------------------------------------------------------------
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:
users@infra.apache.org
[GitHub] [incubator-pagespeed-ngx] Lofesa commented on issue #1697: prioritize_critical_css loads css twice
Posted by GitBox <gi...@apache.org>.
Lofesa commented on issue #1697:
URL: https://github.com/apache/incubator-pagespeed-ngx/issues/1697#issuecomment-659299401
>
>
> Is there some form is html caching going on?
> I'm curious what happens when cloudflare is taken out of the equation.
Yes, some html cache is done. The html is served with cache-control: max-age=3600, must-revalidate
----------------------------------------------------------------
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:
users@infra.apache.org
[GitHub] [incubator-pagespeed-ngx] wfjsw edited a comment on issue #1697: prioritize_critical_css loads css twice
Posted by GitBox <gi...@apache.org>.
wfjsw edited a comment on issue #1697:
URL: https://github.com/apache/incubator-pagespeed-ngx/issues/1697#issuecomment-659366904
If these `Link` headers work, then I'll get 3 working copy of these CSS, but currently I only got 2.
URL rewriting is out of scope here as they re broken for weeks and fixed just now. In this process, the problem neither goes away nor changes behavior.
The specific problem I currently have, is while PageSpeed move these unimportant styles in the bottom of the page, there are still copies of these styles in `<head>`. They should be removed for this filter to actually work.
----------------------------------------------------------------
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:
users@infra.apache.org
[GitHub] [incubator-pagespeed-ngx] Lofesa commented on issue #1697: prioritize_critical_css loads css twice
Posted by GitBox <gi...@apache.org>.
Lofesa commented on issue #1697:
URL: https://github.com/apache/incubator-pagespeed-ngx/issues/1697#issuecomment-659436822
Maybe is some type of problem with the Cloudflare cache, it has stored some html w/out the optimizations or half-optimized.
Now is servig the optimized version, cache-control is set to max-age=0, no-cache, css above the fold is inlined and the css files are loaded by the javascript snipet pagespeed.CriticalCssLoader.Run(); in the onload event.
To be sure the headers link can´t return, unset it in the pagespeed config file.
----------------------------------------------------------------
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:
users@infra.apache.org
[GitHub] [incubator-pagespeed-ngx] Lofesa commented on issue #1697: prioritize_critical_css loads css twice
Posted by GitBox <gi...@apache.org>.
Lofesa commented on issue #1697:
URL: https://github.com/apache/incubator-pagespeed-ngx/issues/1697#issuecomment-659298602
Well... you have allmost 2 big things to look in it:
The site has headers to preload some things, so when the html is rewrited by pagespeed you have 2 diferent files with the same content, 1 loaded by the header and other loaded by the html code. These preload headers can come from Cloudflare.

When the 2 files are the same, is loaded only 1 time but in chrome dev tools network tab in the initiator column you can see is loaded by "other"

The other thing to look is Cloudflare. Cloudflare is a proxy-cache approach to do CDN work. This mean that the only User Agent that hit the real server is the UA used by Cloudflare, so some optimizations from pagespeed are missed because it are UA dependent.
You need to configure Cloudflare in a way that the real UA from the final user hit the real server and headers from the real server go to the final user.
For example, in the html request (hhtps://winterco.org) pagespeed set a cache-control header max-age=0, no-cache, this header forbid to store the html in any cache, why? cause the html can be, or not, rewrited by pagespeed.
As a first step to make it work, you can put Cloudflare in by-pass mode, so the request from final users can to to the real server, once you got the server with pagespeed working well, the you enable Clodflare and face the issues that introduces.
If I remember, Cloudflare can be set to respect original headers.
----------------------------------------------------------------
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:
users@infra.apache.org
[GitHub] [incubator-pagespeed-ngx] Lofesa commented on issue #1697: prioritize_critical_css loads css twice
Posted by GitBox <gi...@apache.org>.
Lofesa commented on issue #1697:
URL: https://github.com/apache/incubator-pagespeed-ngx/issues/1697#issuecomment-657722837
but the 2 times css files are loaded are rewrited by pagespeed? aka have url like full-url-css-file.pagespeed.some-hash.css
----------------------------------------------------------------
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:
users@infra.apache.org
[GitHub] [incubator-pagespeed-ngx] wfjsw commented on issue #1697: prioritize_critical_css loads css twice
Posted by GitBox <gi...@apache.org>.
wfjsw commented on issue #1697:
URL: https://github.com/apache/incubator-pagespeed-ngx/issues/1697#issuecomment-658673870
Hmm No.
----------------------------------------------------------------
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:
users@infra.apache.org
[GitHub] [incubator-pagespeed-ngx] wfjsw commented on issue #1697: prioritize_critical_css loads css twice
Posted by GitBox <gi...@apache.org>.
wfjsw commented on issue #1697:
URL: https://github.com/apache/incubator-pagespeed-ngx/issues/1697#issuecomment-659987230
It fetched once and loaded multiple times. If still confused, take these `<style>`s as an example instead of `<link>`s.
For example now we have 2 copy of `<style type="text/css" id="wp-custom-css">`.
----------------------------------------------------------------
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:
users@infra.apache.org
[GitHub] [incubator-pagespeed-ngx] Lofesa commented on issue #1697: prioritize_critical_css loads css twice
Posted by GitBox <gi...@apache.org>.
Lofesa commented on issue #1697:
URL: https://github.com/apache/incubator-pagespeed-ngx/issues/1697#issuecomment-660076796
As far I can see your site is working, pagespeed does their job, css files are loaded once, css abobe the fold is inlined in the html....
And yes, some css rules are set twice, 1 time in the inlined css and 1 more time in the css files.

And using a browser, so Cloudflare is here.

----------------------------------------------------------------
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:
users@infra.apache.org
[GitHub] [incubator-pagespeed-ngx] Lofesa edited a comment on issue #1697: prioritize_critical_css loads css twice
Posted by GitBox <gi...@apache.org>.
Lofesa edited a comment on issue #1697:
URL: https://github.com/apache/incubator-pagespeed-ngx/issues/1697#issuecomment-659298602
Well... you have allmost 2 big things to look in it:
The site has headers to preload some things, so when the html is rewrited by pagespeed you have 2 diferent files with the same content, 1 loaded by the header and other loaded by the html code. These preload headers can come from Cloudflare.

When the 2 files are the same, is loaded only 1 time but in chrome dev tools network tab in the initiator column you can see is loaded by "other"

The other thing to look is Cloudflare. Cloudflare is a proxy-cache approach to do CDN work. This mean that the only User Agent that hit the real server is the UA used by Cloudflare, so some optimizations from pagespeed are missed because it are UA dependent.
You need to configure Cloudflare in a way that the real UA from the final user hit the real server and headers from the real server go to the final user.
For example, in the html request (hhtps://winterco.org) pagespeed set a cache-control header max-age=0, no-cache, this header forbid to store the html in any cache, why? cause the html can be, or not, rewrited by pagespeed.
As a first step to make it work, you can put Cloudflare in by-pass mode, so the request from final users can to to the real server, once you got the server with pagespeed working well, then you enable Clodflare and face the issues that introduces.
If I remember, Cloudflare can be set to respect original headers.
----------------------------------------------------------------
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:
users@infra.apache.org
[GitHub] [incubator-pagespeed-ngx] wfjsw edited a comment on issue #1697: prioritize_critical_css loads css twice
Posted by GitBox <gi...@apache.org>.
wfjsw edited a comment on issue #1697:
URL: https://github.com/apache/incubator-pagespeed-ngx/issues/1697#issuecomment-659366904
If these `Link` headers work, then I'll get 3 working copy of these CSS, but currently I only got 2.
URL rewriting is out of scope here as they re broken for weeks and fixed just now. In this process, the problem neither goes away nor changes behavior.
The specific problem I currently have, is while PageSpeed move these unimportant styles in the bottom of the page, there are still copies of these styles in `<head>`. They should be removed or commented for this filter to actually work.
----------------------------------------------------------------
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:
users@infra.apache.org
[GitHub] [incubator-pagespeed-ngx] wfjsw commented on issue #1697: prioritize_critical_css loads css twice
Posted by GitBox <gi...@apache.org>.
wfjsw commented on issue #1697:
URL: https://github.com/apache/incubator-pagespeed-ngx/issues/1697#issuecomment-658703781
I'm looking at the source code. Also Inspector indicates duplicate CSS rules exist.
----------------------------------------------------------------
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:
users@infra.apache.org
[GitHub] [incubator-pagespeed-ngx] Lofesa commented on issue #1697: prioritize_critical_css loads css twice
Posted by GitBox <gi...@apache.org>.
Lofesa commented on issue #1697:
URL: https://github.com/apache/incubator-pagespeed-ngx/issues/1697#issuecomment-659344257
Whit prioritize_crital_css the links into the `<noscript>` label is expected bahaviour. Then these links are loaded by the `pagespeed.CriticalCssLoader.Run();` javascript snipet.
The unusual things are the headers with not rewrited url (if they are set by pagespeed) and the no delete the <link> in html and change it by the css code above the fold.
But for now it is working, I get the css files rewrited and no css tag duplicated.

and have the css code inlined in the html

Maybe you need to disable `hint_preload_subresources` and get some hits to get the inlined css.
NOTE: Files for other domain other that yours, are not optimized by pagespeed
`
----------------------------------------------------------------
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:
users@infra.apache.org
[GitHub] [incubator-pagespeed-ngx] wfjsw commented on issue #1697: prioritize_critical_css loads css twice
Posted by GitBox <gi...@apache.org>.
wfjsw commented on issue #1697:
URL: https://github.com/apache/incubator-pagespeed-ngx/issues/1697#issuecomment-659305735
Note that there is two set of `<link>`, one in `<head>` and the other in `<noscript>`. Also <styles> got repeated. DevTools says:


though I have totally no idea why they are all tagged as `<style>`
----------------------------------------------------------------
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:
users@infra.apache.org
[GitHub] [incubator-pagespeed-ngx] oschaaf commented on issue #1697: prioritize_critical_css loads css twice
Posted by GitBox <gi...@apache.org>.
oschaaf commented on issue #1697:
URL: https://github.com/apache/incubator-pagespeed-ngx/issues/1697#issuecomment-658679075
Could it be that you are observing browser prefetching of the original css?
----------------------------------------------------------------
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:
users@infra.apache.org
[GitHub] [incubator-pagespeed-ngx] wfjsw edited a comment on issue #1697: prioritize_critical_css loads css twice
Posted by GitBox <gi...@apache.org>.
wfjsw edited a comment on issue #1697:
URL: https://github.com/apache/incubator-pagespeed-ngx/issues/1697#issuecomment-659301893
Negative. No cloudflare this time:
```
root@localhost ~ # curl -vv --insecure --resolve "winterco.org:443:127.0.0.1" https://winterco.org
* Expire in 0 ms for 6 (transfer 0x55d944151f50)
* Added winterco.org:443:127.0.0.1 to DNS cache
* Hostname winterco.org was found in DNS cache
* Trying 127.0.0.1...
* TCP_NODELAY set
* Expire in 200 ms for 4 (transfer 0x55d944151f50)
* Connected to winterco.org (127.0.0.1) port 443 (#0)
...(garbage)...
> GET / HTTP/2
> Host: winterco.org
> User-Agent: curl/7.64.0
> Accept: */*
>
* TLSv1.3 (IN), TLS handshake, Newsession Ticket (4):
* TLSv1.3 (IN), TLS handshake, Newsession Ticket (4):
* old SSL session ID is stale, removing
* Connection state changed (MAX_CONCURRENT_STREAMS == 128)!
< HTTP/2 200
< server: nginx
< date: Thu, 16 Jul 2020 09:40:51 GMT
< content-type: text/html; charset=UTF-8
< cache-control: max-age=3600, must-revalidate
< vary: Accept-Encoding, Cookie
< hummingbird-cache: Served
< x-content-type-options: nosniff
< x-xss-protection: 1; mode=block;
< x-powered-by: ASP.NET
< x-aspnet-version: 2.0.50727
< x-aspnetmvc-version: 2.0
< x-recruiting: Like hacking? Join us: winterco.org/careers
< x-page-speed: 1.13.35.2-0
< link: </wp-content/themes/creativeily-winterco-mod/style.css?ver=5.4.2>; rel=preload; as=style; nopush
< link: </wp-content/uploads/bws-custom-code/bws-custom-code.css?ver=5.4.2>; rel=preload; as=style; nopush
< link: </wp-content/themes/creativeily-winterco-mod/assets/js/creativeily.js?ver=5.4.2>; rel=preload; as=script; nopush
< link: </wp-content/themes/creativeily-winterco-mod/assets/js/accessibility.js?ver=5.4.2>; rel=preload; as=script; nopush
< link: </wp-includes/js/wp-embed.min.js?ver=5.4.2>; rel=preload; as=script; nopush
<
<!DOCTYPE html>
<html lang="zh-CN" class="no-js no-svg">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="profile" href="http://gmpg.org/xfn/11">
<title>凛冬华人联盟 – Winter Coalition</title>
<link rel='dns-prefetch' href='//www.googletagmanager.com'/>
<link rel='dns-prefetch' href='//fonts.googleapis.com'/>
<link rel='dns-prefetch' href='//cdn.jsdelivr.net'/>
<link rel='dns-prefetch' href='//recaptcha.net'/>
<link rel='dns-prefetch' href='//fonts.gstatic.com'/>
<link rel='dns-prefetch' href='//ajax.googleapis.com'/>
<link rel='dns-prefetch' href='//google-analytics.com'/>
<link rel='dns-prefetch' href='//www.google-analytics.com'/>
<link rel='dns-prefetch' href='//ssl.google-analytics.com'/>
<link rel="alternate" type="application/rss+xml" title="凛冬华人联盟 » Feed" href="https://winterco.org/feed/"/>
<link rel="alternate" type="application/rss+xml" title="凛冬华人联盟 » 评论Feed" href="https://winterco.org/comments/feed/"/>
<link rel='stylesheet' id='wp-block-library-css' href='https://cdn.jsdelivr.net/gh/WordPress/WordPress@5.4.2/wp-includes/css/dist/block-library/style.min.css?ver=5.4.2' type='text/css' media='all'/>
<link rel='stylesheet' id='comment_styles-css' href='https://cdn.jsdelivr.net/wp/plugins/wp-discourse/tags/2.0.6/lib/../css/comments.min.css?ver=1594583367' type='text/css' media='all'/>
<link rel='stylesheet' id='creativeily-google-fonts-css' href='https://fonts.googleapis.com/css2?family=Roboto%3Aital%2Cwght%400%2C400%3B0%2C500%3B0%2C700%3B0%2C900%3B1%2C400%3B1%2C500&display=swap&ver=5.4.2' type='text/css' media='all'/>
<link rel='stylesheet' id='dashicons-css' href='https://cdn.jsdelivr.net/gh/WordPress/WordPress@5.4.2/wp-includes/css/dashicons.min.css?ver=5.4.2' type='text/css' media='all'/>
<link rel='stylesheet' id='creativeily-style-css' href='https://winterco.org/wp-content/themes/creativeily-winterco-mod/style.css?ver=5.4.2' type='text/css' media='all'/>
<link rel='stylesheet' id='bws-custom-style-css' href='https://winterco.org/wp-content/uploads/bws-custom-code/bws-custom-code.css?ver=5.4.2' type='text/css' media='all'/>
<script type='text/javascript' src='https://cdn.jsdelivr.net/gh/WordPress/WordPress@5.4.2/wp-includes/js/jquery/jquery.js?ver=1.12.4-wp'></script>
<script type='text/javascript' src='https://cdn.jsdelivr.net/gh/WordPress/WordPress@5.4.2/wp-includes/js/jquery/jquery-migrate.min.js?ver=1.4.1'></script>
<script type='text/javascript' src='https://winterco.org/wp-content/themes/creativeily-winterco-mod/assets/js/creativeily.js?ver=5.4.2'></script>
<script type='text/javascript' src='https://winterco.org/wp-content/themes/creativeily-winterco-mod/assets/js/accessibility.js?ver=5.4.2'></script>
<script type='text/javascript' src='https://www.googletagmanager.com/gtag/js?id=UA-144673995-3'></script>
<script type='text/javascript'>window.dataLayer=window.dataLayer||[];function gtag(){dataLayer.push(arguments);}gtag('js',new Date());gtag('config','UA-144673995-3',{"anonymize_ip":true});</script>
<link rel='https://api.w.org/' href='https://winterco.org/wp-json/'/>
<link rel="EditURI" type="application/rsd+xml" title="RSD" href="https://winterco.org/xmlrpc.php?rsd"/>
<link rel="wlwmanifest" type="application/wlwmanifest+xml" href="https://winterco.org/wp-includes/wlwmanifest.xml"/>
<meta name="generator" content="WordPress 5.4.2"/>
<meta name="generator" content="Site Kit by Google 1.11.1"/> <style type="text/css" id="custom-theme-css">body{font-style:normal;font-weight:400;padding:0;margin:0;position:relative;-webkit-tap-highlight-color:transparent;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;-webkit-text-size-adjust:100%}#start{background-color:#f3f3f3}.header{position:relative;overflow:visible;display:-webkit-flex;-webkit-flex-wrap:wrap;justify-content:center;align-items:-webkit-flex-start;align-content:-webkit-flex-start;height:700px;height:100vh;max-height:100%;min-height:200px;min-width:300px;color:#eee}.image-creativeily-header{width:100%;height:100%;position:fixed;top:0;left:0;-webkit-backface-visibility:hidden;backface-visibility:hidden;-webkit-transform:translateZ(0) scale(1.0,1.0);transform:translateZ(0);-ms-transform:translateZ(0);background:;background-size:cover;background-attachment:scroll;-webkit-animation:grow 60s linear 10ms infinite;animation:grow 60s linear 10ms infinite;-webkit-transition:all .2s ease-in-out;transition:all .2s ease-in-out;z-index:-2}</style>
<style type="text/css">.has-sidebar #secondary{background: }.has-sidebar #secondary h2,.has-sidebar #secondary th{color: }.has-sidebar #secondary .widget,.has-sidebar #secondary li,.has-sidebar #secondary ul,.has-sidebar #secondary span,.has-sidebar #secondary div{color: }.has-sidebar #secondary button.search-submit{background: ;color:#fff}.has-sidebar #secondary a{color: }.has-sidebar #secondary *,.has-sidebar #secondary .widget h2{border-color: }.blog .wrapmain article{background: }.blog .wrapmain article h2,.blog .wrapmain article h2 a{color: }.postinfo,.postinfo *{color: }.blog .wrapmain article .entry-content p{color: }a.button.button-readmore{background: }a.button.button-readmore{color: }.wrapmain .search-submit{background: }.wrapmain .search-submit{color: }footer{background: }.site-info{color: }</style>
<style type="text/css">.image-creativeily-header{background:#222 url(https://winterco.org/wp-content/uploads/2020/07/2020.07.13.12.22.2-optimized.jpg) center center no-repeat}.header .info h1,.header .meta p{color:#fff}https://winterco.org/wp-content/uploads/2020/07/2020.07.13.12.22.2-optimized.jpg"
.header .info h1, .header .meta p {color:#fff}</style>
<link rel="icon" href="https://winterco.org/wp-content/uploads/2020/07/cropped-11355daf357ecd7cd74ad2c64b3de3e4b15ba35c-32x32.png" sizes="32x32"/>
<link rel="icon" href="https://winterco.org/wp-content/uploads/2020/07/cropped-11355daf357ecd7cd74ad2c64b3de3e4b15ba35c-192x192.png" sizes="192x192"/>
<link rel="apple-touch-icon" href="https://winterco.org/wp-content/uploads/2020/07/cropped-11355daf357ecd7cd74ad2c64b3de3e4b15ba35c-180x180.png"/>
<meta name="msapplication-TileImage" content="https://winterco.org/wp-content/uploads/2020/07/cropped-11355daf357ecd7cd74ad2c64b3de3e4b15ba35c-270x270.png"/>
<style type="text/css" id="wp-custom-css">@media screen and (min-width:1280px){.info{width:50%;right:3%;left:auto}}.info{text-shadow:2px 2px 5px black}.custom-logo{width:60px}.header .meta p{font-size:30px}.image-creativeily-header{background-position:23% center}@media screen and (max-width:1280px){.header .info h1{font-size:40px}.header .meta p{font-size:24px}}.site-info{font-size:12px;font-weight:300}</style>
</head>
<body class="home blog wp-custom-logo">
<a class="skip-link screen-reader-text" href="#content">Skip to content</a>
<div id="page" class="site has-sidebar">
<div class="header">
<div class="image-creativeily-header"></div>
<div class="header-top">
<a href="https://winterco.org/" class="custom-logo-link" rel="home"><img width="120" height="120" src="https://winterco.org/wp-content/uploads/2020/07/dc93e8bf55b0efd7a0b6c74c4f62a426e98fd5e3.png" class="custom-logo" alt="凛冬华人联盟" srcset="https://winterco.org/wp-content/uploads/2020/07/dc93e8bf55b0efd7a0b6c74c4f62a426e98fd5e3.png 120w, https://winterco.org/wp-content/uploads/2020/07/dc93e8bf55b0efd7a0b6c74c4f62a426e98fd5e3-100x100.png 100w" sizes="(max-width: 120px) 100vw, 120px"/></a>
</div>
<div class="info">
...(garbage)...
</div>
</div>
<script type='text/javascript'>var wpdc={"commentsURL":"https:\/\/winterco.org\/wp-json\/wp-discourse\/v1\/discourse-comments"};</script>
<script type='text/javascript' src='https://cdn.jsdelivr.net/gh/discourse/wp-discourse@1.8.7/js/load-comments.min.js?ver=1594583367'></script>
<script type='text/javascript' src='https://winterco.org/wp-includes/js/wp-embed.min.js?ver=5.4.2'></script>
<noscript class="psa_add_styles"><link rel='stylesheet' id='wp-block-library-css' href='https://cdn.jsdelivr.net/gh/WordPress/WordPress@5.4.2/wp-includes/css/dist/block-library/style.min.css?ver=5.4.2' type='text/css' media='all'/><link rel='stylesheet' id='comment_styles-css' href='https://cdn.jsdelivr.net/wp/plugins/wp-discourse/tags/2.0.6/lib/../css/comments.min.css?ver=1594583367' type='text/css' media='all'/><link rel='stylesheet' id='creativeily-google-fonts-css' href='https://fonts.googleapis.com/css2?family=Roboto%3Aital%2Cwght%400%2C400%3B0%2C500%3B0%2C700%3B0%2C900%3B1%2C400%3B1%2C500&display=swap&ver=5.4.2' type='text/css' media='all'/><link rel='stylesheet' id='dashicons-css' href='https://cdn.jsdelivr.net/gh/WordPress/WordPress@5.4.2/wp-includes/css/dashicons.min.css?ver=5.4.2' type='text/css' media='all'/><link rel='stylesheet' id='creativeily-style-css' href='https://winterco.org/wp-content/themes/creativeily-winterco-mod/style.css?ver=5.4.2' type='text/css' media='all'/><link rel='stylesheet' id='bws-custom-style-css' href='https://winterco.org/wp-content/uploads/bws-custom-code/bws-custom-code.css?ver=5.4.2' type='text/css' media='all'/><style type="text/css" id="custom-theme-css">body{font-style:normal;font-weight:400;padding:0;margin:0;position:relative;-webkit-tap-highlight-color:transparent;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;-webkit-text-size-adjust:100%}#start{background-color:#f3f3f3}.header{position:relative;overflow:visible;display:-webkit-flex;-webkit-flex-wrap:wrap;justify-content:center;align-items:-webkit-flex-start;align-content:-webkit-flex-start;height:700px;height:100vh;max-height:100%;min-height:200px;min-width:300px;color:#eee}#top-menu li:after{content:"";display:block;margin:0 auto;width:30px;margin-bottom:.7em;margin-top:.7em}.image-creativeily-header{width:100%;height:100%;position:fixed;top:0;left:0;-webkit-backface-visibility:hidden;backface-visibility:hidden;-webkit-transform:translateZ(0) scale(1.0,1.0);transform:translateZ(0);-ms-transform:translateZ(0);background:;background-size:cover;background-attachment:scroll;-webkit-animation:grow 60s linear 10ms infinite;animation:grow 60s linear 10ms infinite;-webkit-transition:all .2s ease-in-out;transition:all .2s ease-in-out;z-index:-2}</style><style type="text/css">.header a.logo,.logo:hover{color: }.has-sidebar #secondary{background: }.has-sidebar #secondary h2,.has-sidebar #secondary h1,.has-sidebar #secondary h3,.has-sidebar #secondary h4,.has-sidebar #secondary h5,.has-sidebar #secondary h6,.has-sidebar #secondary th{color: }.has-sidebar #secondary p,.has-sidebar #secondary .widget,.has-sidebar #secondary li,.has-sidebar #secondary ol,.has-sidebar #secondary ul,.has-sidebar #secondary dd,.has-sidebar #secondary span,.has-sidebar #secondary div{color: }.has-sidebar #secondary button.search-submit{background: ;color:#fff}.has-sidebar #secondary a{color: }.has-sidebar #secondary *,.has-sidebar #secondary .widget h2{border-color: }.blog .wrapmain article,.archive .wrapmain article,.search-results .wrapmain article{background: }.blog .wrapmain article h2,.archive .wrapmain article h2,.search-results .wrapmain article h2,.blog .wrapmain article h2 a,.archive .wrapmain article h2 a,.search-results .wrapmain article h2 a{color: }.postinfo,.postinfo *{color: }.blog .wrapmain article .entry-content p,.archive .wrapmain article .entry-content p,.search-results .wrapmain article .entry-content p{color: }a.button.button-readmore{background: }a.button.button-readmore{color: }.error404 .content-area,.search-no-results .content-area,.single .wrapmain article,.page .wrapmain article,#commentform{background: }#commentform label,h3#reply-title,h2.comments-title,.page .wrapmain article h1,.page .wrapmain article h2,.page .wrapmain article h3,.page .wrapmain article h4,.page .wrapmain article h5,.page .wrapmain article h6,.page .wrapmain article th,.single .wrapmain article h1,.single .wrapmain article h2,.single .wrapmain article h3,.single .wrapmain article h4,.single .wrapmain article h5,.single .wrapmain article h6,.single .wrapmain article th{color: }.error404 .content-area p,.search-no-results .content-area p,.single .wrapmain article,.single .wrapmain article p,.single .wrapmain article dd,.single .wrapmain article li,.single .wrapmain article ul,.single .wrapmain article ol,.single .wrapmain article address,.single .wrapmain article table,.single .wrapmain article th,.single .wrapmain article td,.single .wrapmain article blockquote,.single .wrapmain article span,.single .wrapmain article div .page .wrapmain article,.page .wrapmain article p,.page .wrapmain article dd,.page .wrapmain article li,.page .wrapmain article ul,.page .wrapmain article ol,.page .wrapmain article address,.page .wrapmain article table,.page .wrapmain article th,.page .wrapmain article td,.page .wrapmain article blockquote,.page .wrapmain article span,.page .wrapmain article div{color: }.single .wrapmain article a,.page .wrapmain article a{color: }.wrapmain .search-submit,.page .wrapmain article a.button,.single .wrapmain article a.button,.nav-links span.button,form#commentform input#submit{background: }.wrapmain .search-submit,.nav-links span.button,form#commentform input#submit{color: }.page .wrapmain article td,.single .wrapmain article td,.page .wrapmain article th,.single .wrapmain article th,.single .wrapmain article *,.page .wrapmain article *{border-color: }.footer-column-three h3{color: }footer{background: }.footer-column-wrapper .widget a{color: }.footer-column-wrapper .widget *{border-color: }.footer-column-wrapper .widget .search-submit{background: }.footer-column-wrapper .widget .search-submit{color: }.site-info,.site-info *,.footer-column-wrapper .widget,.footer-column-wrapper .widget li,.footer-column-wrapper .widget p,.footer-column-wrapper abbr,.footer-column-wrapper cite,.footer-column-wrapper table caption,.footer-column-wrapper td,.footer-column-wrapper th{color: }</style><style type="text/css">.image-creativeily-header{background:#222 url(https://winterco.org/wp-content/uploads/2020/07/2020.07.13.12.22.2-optimized.jpg) center center no-repeat}.header .info h1,.header .meta p{color:#fff}https://winterco.org/wp-content/uploads/2020/07/2020.07.13.12.22.2-optimized.jpg"
.header .info h1, .header .meta p {color:#fff}</style><style type="text/css" id="wp-custom-css">@media screen and (min-width:1280px){.info{width:50%;right:3%;left:auto}}.info{text-shadow:2px 2px 5px black}.custom-logo{width:60px}.header .meta p{font-size:30px}.image-creativeily-header{background-position:23% center}@media screen and (max-width:1280px){.header .info h1{font-size:40px}.header .meta p{font-size:24px}}.site-info,.site-info *{font-size:12px;font-weight:300}</style></noscript><script data-pagespeed-no-defer>(function(){function b(){var a=window,c=e;if(a.addEventListener)a.addEventListener("load",c,!1);else if(a.attachEvent)a.attachEvent("onload",c);else{var d=a.onload;a.onload=function(){c.call(this);d&&d.call(this)}}};var f=!1;function e(){if(!f){f=!0;for(var a=document.getElementsByClassName("psa_add_styles"),c=0,d;d=a[c];++c)if("NOSCRIPT"==d.nodeName){var k=document.createElement("div");k.innerHTML=d.textContent;document.body.appendChild(k)}}}function g(){var a=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||null;a?a(function(){window.setTimeout(e,0)}):b()}
var h=["pagespeed","CriticalCssLoader","Run"],l=this;h[0]in l||!l.execScript||l.execScript("var "+h[0]);for(var m;h.length&&(m=h.shift());)h.length||void 0===g?l[m]?l=l[m]:l=l[m]={}:l[m]=g;})();
pagespeed.CriticalCssLoader.Run();</script></body>
</html>
* Connection #0 to host winterco.org left intact
```
The Cache-Control on the header is likely provided by Hummingbird, a plugin of WordPress and it does not interfere with PageSpeed. And I have `ModifyCachingHeaders` turned off.
These `Link` header are provided by `hint_preload_subresources` I believe.
----------------------------------------------------------------
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:
users@infra.apache.org
[GitHub] [incubator-pagespeed-ngx] Lofesa edited a comment on issue #1697: prioritize_critical_css loads css twice
Posted by GitBox <gi...@apache.org>.
Lofesa edited a comment on issue #1697:
URL: https://github.com/apache/incubator-pagespeed-ngx/issues/1697#issuecomment-658764918
`prioritize_critical_css` works removing the css file link from the html code, change it by a css snipet (those used above the fold) and then put a javascript snipet at the bottom of the page wirt 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:
users@infra.apache.org
[GitHub] [incubator-pagespeed-ngx] Lofesa commented on issue #1697: prioritize_critical_css loads css twice
Posted by GitBox <gi...@apache.org>.
Lofesa commented on issue #1697:
URL: https://github.com/apache/incubator-pagespeed-ngx/issues/1697#issuecomment-659980255
But the last images I have posted are with cloudflare and it work as spected. CSS above the fold is inlined and css files are loaded only 1 times.
[#1697 (comment)](https://github.com/apache/incubator-pagespeed-ngx/issues/1697#issuecomment-659344257)
----------------------------------------------------------------
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:
users@infra.apache.org
[GitHub] [incubator-pagespeed-ngx] wfjsw edited a comment on issue #1697: prioritize_critical_css loads css twice
Posted by GitBox <gi...@apache.org>.
wfjsw edited a comment on issue #1697:
URL: https://github.com/apache/incubator-pagespeed-ngx/issues/1697#issuecomment-659301893
Negative. No cloudflare this time:
```
root@localhost ~ # curl -vv --insecure --resolve "winterco.org:443:127.0.0.1" https://winterco.org
* Expire in 0 ms for 6 (transfer 0x55d944151f50)
* Added winterco.org:443:127.0.0.1 to DNS cache
* Hostname winterco.org was found in DNS cache
* Trying 127.0.0.1...
* TCP_NODELAY set
* Expire in 200 ms for 4 (transfer 0x55d944151f50)
* Connected to winterco.org (127.0.0.1) port 443 (#0)
...(garbage)...
> GET / HTTP/2
> Host: winterco.org
> User-Agent: curl/7.64.0
> Accept: */*
>
* TLSv1.3 (IN), TLS handshake, Newsession Ticket (4):
* TLSv1.3 (IN), TLS handshake, Newsession Ticket (4):
* old SSL session ID is stale, removing
* Connection state changed (MAX_CONCURRENT_STREAMS == 128)!
< HTTP/2 200
< server: nginx
< date: Thu, 16 Jul 2020 09:40:51 GMT
< content-type: text/html; charset=UTF-8
< cache-control: max-age=3600, must-revalidate
< vary: Accept-Encoding, Cookie
< hummingbird-cache: Served
< x-content-type-options: nosniff
< x-xss-protection: 1; mode=block;
< x-powered-by: ASP.NET
< x-aspnet-version: 2.0.50727
< x-aspnetmvc-version: 2.0
< x-recruiting: Like hacking? Join us: winterco.org/careers
< x-page-speed: 1.13.35.2-0
< link: </wp-content/themes/creativeily-winterco-mod/style.css?ver=5.4.2>; rel=preload; as=style; nopush
< link: </wp-content/uploads/bws-custom-code/bws-custom-code.css?ver=5.4.2>; rel=preload; as=style; nopush
< link: </wp-content/themes/creativeily-winterco-mod/assets/js/creativeily.js?ver=5.4.2>; rel=preload; as=script; nopush
< link: </wp-content/themes/creativeily-winterco-mod/assets/js/accessibility.js?ver=5.4.2>; rel=preload; as=script; nopush
< link: </wp-includes/js/wp-embed.min.js?ver=5.4.2>; rel=preload; as=script; nopush
<
<!DOCTYPE html>
<html lang="zh-CN" class="no-js no-svg">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="profile" href="http://gmpg.org/xfn/11">
<title>凛冬华人联盟 – Winter Coalition</title>
<link rel='dns-prefetch' href='//www.googletagmanager.com'/>
<link rel='dns-prefetch' href='//fonts.googleapis.com'/>
<link rel='dns-prefetch' href='//cdn.jsdelivr.net'/>
<link rel='dns-prefetch' href='//recaptcha.net'/>
<link rel='dns-prefetch' href='//fonts.gstatic.com'/>
<link rel='dns-prefetch' href='//ajax.googleapis.com'/>
<link rel='dns-prefetch' href='//google-analytics.com'/>
<link rel='dns-prefetch' href='//www.google-analytics.com'/>
<link rel='dns-prefetch' href='//ssl.google-analytics.com'/>
<link rel="alternate" type="application/rss+xml" title="凛冬华人联盟 » Feed" href="https://winterco.org/feed/"/>
<link rel="alternate" type="application/rss+xml" title="凛冬华人联盟 » 评论Feed" href="https://winterco.org/comments/feed/"/>
<link rel='stylesheet' id='wp-block-library-css' href='https://cdn.jsdelivr.net/gh/WordPress/WordPress@5.4.2/wp-includes/css/dist/block-library/style.min.css?ver=5.4.2' type='text/css' media='all'/>
<link rel='stylesheet' id='comment_styles-css' href='https://cdn.jsdelivr.net/wp/plugins/wp-discourse/tags/2.0.6/lib/../css/comments.min.css?ver=1594583367' type='text/css' media='all'/>
<link rel='stylesheet' id='creativeily-google-fonts-css' href='https://fonts.googleapis.com/css2?family=Roboto%3Aital%2Cwght%400%2C400%3B0%2C500%3B0%2C700%3B0%2C900%3B1%2C400%3B1%2C500&display=swap&ver=5.4.2' type='text/css' media='all'/>
<link rel='stylesheet' id='dashicons-css' href='https://cdn.jsdelivr.net/gh/WordPress/WordPress@5.4.2/wp-includes/css/dashicons.min.css?ver=5.4.2' type='text/css' media='all'/>
<link rel='stylesheet' id='creativeily-style-css' href='https://winterco.org/wp-content/themes/creativeily-winterco-mod/style.css?ver=5.4.2' type='text/css' media='all'/>
<link rel='stylesheet' id='bws-custom-style-css' href='https://winterco.org/wp-content/uploads/bws-custom-code/bws-custom-code.css?ver=5.4.2' type='text/css' media='all'/>
<script type='text/javascript' src='https://cdn.jsdelivr.net/gh/WordPress/WordPress@5.4.2/wp-includes/js/jquery/jquery.js?ver=1.12.4-wp'></script>
<script type='text/javascript' src='https://cdn.jsdelivr.net/gh/WordPress/WordPress@5.4.2/wp-includes/js/jquery/jquery-migrate.min.js?ver=1.4.1'></script>
<script type='text/javascript' src='https://winterco.org/wp-content/themes/creativeily-winterco-mod/assets/js/creativeily.js?ver=5.4.2'></script>
<script type='text/javascript' src='https://winterco.org/wp-content/themes/creativeily-winterco-mod/assets/js/accessibility.js?ver=5.4.2'></script>
<script type='text/javascript' src='https://www.googletagmanager.com/gtag/js?id=UA-144673995-3'></script>
<script type='text/javascript'>window.dataLayer=window.dataLayer||[];function gtag(){dataLayer.push(arguments);}gtag('js',new Date());gtag('config','UA-144673995-3',{"anonymize_ip":true});</script>
<link rel='https://api.w.org/' href='https://winterco.org/wp-json/'/>
<link rel="EditURI" type="application/rsd+xml" title="RSD" href="https://winterco.org/xmlrpc.php?rsd"/>
<link rel="wlwmanifest" type="application/wlwmanifest+xml" href="https://winterco.org/wp-includes/wlwmanifest.xml"/>
<meta name="generator" content="WordPress 5.4.2"/>
<meta name="generator" content="Site Kit by Google 1.11.1"/> <style type="text/css" id="custom-theme-css">body{font-style:normal;font-weight:400;padding:0;margin:0;position:relative;-webkit-tap-highlight-color:transparent;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;-webkit-text-size-adjust:100%}#start{background-color:#f3f3f3}.header{position:relative;overflow:visible;display:-webkit-flex;-webkit-flex-wrap:wrap;justify-content:center;align-items:-webkit-flex-start;align-content:-webkit-flex-start;height:700px;height:100vh;max-height:100%;min-height:200px;min-width:300px;color:#eee}.image-creativeily-header{width:100%;height:100%;position:fixed;top:0;left:0;-webkit-backface-visibility:hidden;backface-visibility:hidden;-webkit-transform:translateZ(0) scale(1.0,1.0);transform:translateZ(0);-ms-transform:translateZ(0);background:;background-size:cover;background-attachment:scroll;-webkit-animation:grow 60s linear 10ms infinite;animation:grow 60s linear 10ms infinite;-webkit-transition:all .2s ease-in-out;transition:all .2s ease-in-out;z-index:-2}</style>
<style type="text/css">.has-sidebar #secondary{background: }.has-sidebar #secondary h2,.has-sidebar #secondary th{color: }.has-sidebar #secondary .widget,.has-sidebar #secondary li,.has-sidebar #secondary ul,.has-sidebar #secondary span,.has-sidebar #secondary div{color: }.has-sidebar #secondary button.search-submit{background: ;color:#fff}.has-sidebar #secondary a{color: }.has-sidebar #secondary *,.has-sidebar #secondary .widget h2{border-color: }.blog .wrapmain article{background: }.blog .wrapmain article h2,.blog .wrapmain article h2 a{color: }.postinfo,.postinfo *{color: }.blog .wrapmain article .entry-content p{color: }a.button.button-readmore{background: }a.button.button-readmore{color: }.wrapmain .search-submit{background: }.wrapmain .search-submit{color: }footer{background: }.site-info{color: }</style>
<style type="text/css">.image-creativeily-header{background:#222 url(https://winterco.org/wp-content/uploads/2020/07/2020.07.13.12.22.2-optimized.jpg) center center no-repeat}.header .info h1,.header .meta p{color:#fff}https://winterco.org/wp-content/uploads/2020/07/2020.07.13.12.22.2-optimized.jpg"
.header .info h1, .header .meta p {color:#fff}</style>
<link rel="icon" href="https://winterco.org/wp-content/uploads/2020/07/cropped-11355daf357ecd7cd74ad2c64b3de3e4b15ba35c-32x32.png" sizes="32x32"/>
<link rel="icon" href="https://winterco.org/wp-content/uploads/2020/07/cropped-11355daf357ecd7cd74ad2c64b3de3e4b15ba35c-192x192.png" sizes="192x192"/>
<link rel="apple-touch-icon" href="https://winterco.org/wp-content/uploads/2020/07/cropped-11355daf357ecd7cd74ad2c64b3de3e4b15ba35c-180x180.png"/>
<meta name="msapplication-TileImage" content="https://winterco.org/wp-content/uploads/2020/07/cropped-11355daf357ecd7cd74ad2c64b3de3e4b15ba35c-270x270.png"/>
<style type="text/css" id="wp-custom-css">@media screen and (min-width:1280px){.info{width:50%;right:3%;left:auto}}.info{text-shadow:2px 2px 5px black}.custom-logo{width:60px}.header .meta p{font-size:30px}.image-creativeily-header{background-position:23% center}@media screen and (max-width:1280px){.header .info h1{font-size:40px}.header .meta p{font-size:24px}}.site-info{font-size:12px;font-weight:300}</style>
</head>
<body class="home blog wp-custom-logo">
<a class="skip-link screen-reader-text" href="#content">Skip to content</a>
<div id="page" class="site has-sidebar">
<div class="header">
<div class="image-creativeily-header"></div>
<div class="header-top">
<a href="https://winterco.org/" class="custom-logo-link" rel="home"><img width="120" height="120" src="https://winterco.org/wp-content/uploads/2020/07/dc93e8bf55b0efd7a0b6c74c4f62a426e98fd5e3.png" class="custom-logo" alt="凛冬华人联盟" srcset="https://winterco.org/wp-content/uploads/2020/07/dc93e8bf55b0efd7a0b6c74c4f62a426e98fd5e3.png 120w, https://winterco.org/wp-content/uploads/2020/07/dc93e8bf55b0efd7a0b6c74c4f62a426e98fd5e3-100x100.png 100w" sizes="(max-width: 120px) 100vw, 120px"/></a>
</div>
<div class="info">
...(garbage)...
</div>
</div>
<script type='text/javascript'>var wpdc={"commentsURL":"https:\/\/winterco.org\/wp-json\/wp-discourse\/v1\/discourse-comments"};</script>
<script type='text/javascript' src='https://cdn.jsdelivr.net/gh/discourse/wp-discourse@1.8.7/js/load-comments.min.js?ver=1594583367'></script>
<script type='text/javascript' src='https://winterco.org/wp-includes/js/wp-embed.min.js?ver=5.4.2'></script>
<noscript class="psa_add_styles"><link rel='stylesheet' id='wp-block-library-css' href='https://cdn.jsdelivr.net/gh/WordPress/WordPress@5.4.2/wp-includes/css/dist/block-library/style.min.css?ver=5.4.2' type='text/css' media='all'/><link rel='stylesheet' id='comment_styles-css' href='https://cdn.jsdelivr.net/wp/plugins/wp-discourse/tags/2.0.6/lib/../css/comments.min.css?ver=1594583367' type='text/css' media='all'/><link rel='stylesheet' id='creativeily-google-fonts-css' href='https://fonts.googleapis.com/css2?family=Roboto%3Aital%2Cwght%400%2C400%3B0%2C500%3B0%2C700%3B0%2C900%3B1%2C400%3B1%2C500&display=swap&ver=5.4.2' type='text/css' media='all'/><link rel='stylesheet' id='dashicons-css' href='https://cdn.jsdelivr.net/gh/WordPress/WordPress@5.4.2/wp-includes/css/dashicons.min.css?ver=5.4.2' type='text/css' media='all'/><link rel='stylesheet' id='creativeily-style-css' href='https://winterco.org/wp-content/themes/creativeily-winterco-mod/style.css?ver=5.4.2' type='text/css' media='all'/><link rel='stylesheet' id='bws-custom-style-css' href='https://winterco.org/wp-content/uploads/bws-custom-code/bws-custom-code.css?ver=5.4.2' type='text/css' media='all'/><style type="text/css" id="custom-theme-css">body{font-style:normal;font-weight:400;padding:0;margin:0;position:relative;-webkit-tap-highlight-color:transparent;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;-webkit-text-size-adjust:100%}#start{background-color:#f3f3f3}.header{position:relative;overflow:visible;display:-webkit-flex;-webkit-flex-wrap:wrap;justify-content:center;align-items:-webkit-flex-start;align-content:-webkit-flex-start;height:700px;height:100vh;max-height:100%;min-height:200px;min-width:300px;color:#eee}#top-menu li:after{content:"";display:block;margin:0 auto;width:30px;margin-bottom:.7em;margin-top:.7em}.image-creativeily-header{width:100%;height:100%;position:fixed;top:0;left:0;-webkit-backface-visibility:hidden;backface-visibility:hidden;-webkit-transform:translateZ(0) scale(1.0,1.0);transform:translateZ(0);-ms-transform:translateZ(0);background:;background-size:cover;background-attachment:scroll;-webkit-animation:grow 60s linear 10ms infinite;animation:grow 60s linear 10ms infinite;-webkit-transition:all .2s ease-in-out;transition:all .2s ease-in-out;z-index:-2}</style><style type="text/css">.header a.logo,.logo:hover{color: }.has-sidebar #secondary{background: }.has-sidebar #secondary h2,.has-sidebar #secondary h1,.has-sidebar #secondary h3,.has-sidebar #secondary h4,.has-sidebar #secondary h5,.has-sidebar #secondary h6,.has-sidebar #secondary th{color: }.has-sidebar #secondary p,.has-sidebar #secondary .widget,.has-sidebar #secondary li,.has-sidebar #secondary ol,.has-sidebar #secondary ul,.has-sidebar #secondary dd,.has-sidebar #secondary span,.has-sidebar #secondary div{color: }.has-sidebar #secondary button.search-submit{background: ;color:#fff}.has-sidebar #secondary a{color: }.has-sidebar #secondary *,.has-sidebar #secondary .widget h2{border-color: }.blog .wrapmain article,.archive .wrapmain article,.search-results .wrapmain article{background: }.blog .wrapmain article h2,.archive .wrapmain article h2,.search-results .wrapmain article h2,.blog .wrapmain article h2 a,.archive .wrapmain article h2 a,.search-results .wrapmain article h2 a{color: }.postinfo,.postinfo *{color: }.blog .wrapmain article .entry-content p,.archive .wrapmain article .entry-content p,.search-results .wrapmain article .entry-content p{color: }a.button.button-readmore{background: }a.button.button-readmore{color: }.error404 .content-area,.search-no-results .content-area,.single .wrapmain article,.page .wrapmain article,#commentform{background: }#commentform label,h3#reply-title,h2.comments-title,.page .wrapmain article h1,.page .wrapmain article h2,.page .wrapmain article h3,.page .wrapmain article h4,.page .wrapmain article h5,.page .wrapmain article h6,.page .wrapmain article th,.single .wrapmain article h1,.single .wrapmain article h2,.single .wrapmain article h3,.single .wrapmain article h4,.single .wrapmain article h5,.single .wrapmain article h6,.single .wrapmain article th{color: }.error404 .content-area p,.search-no-results .content-area p,.single .wrapmain article,.single .wrapmain article p,.single .wrapmain article dd,.single .wrapmain article li,.single .wrapmain article ul,.single .wrapmain article ol,.single .wrapmain article address,.single .wrapmain article table,.single .wrapmain article th,.single .wrapmain article td,.single .wrapmain article blockquote,.single .wrapmain article span,.single .wrapmain article div .page .wrapmain article,.page .wrapmain article p,.page .wrapmain article dd,.page .wrapmain article li,.page .wrapmain article ul,.page .wrapmain article ol,.page .wrapmain article address,.page .wrapmain article table,.page .wrapmain article th,.page .wrapmain article td,.page .wrapmain article blockquote,.page .wrapmain article span,.page .wrapmain article div{color: }.single .wrapmain article a,.page .wrapmain article a{color: }.wrapmain .search-submit,.page .wrapmain article a.button,.single .wrapmain article a.button,.nav-links span.button,form#commentform input#submit{background: }.wrapmain .search-submit,.nav-links span.button,form#commentform input#submit{color: }.page .wrapmain article td,.single .wrapmain article td,.page .wrapmain article th,.single .wrapmain article th,.single .wrapmain article *,.page .wrapmain article *{border-color: }.footer-column-three h3{color: }footer{background: }.footer-column-wrapper .widget a{color: }.footer-column-wrapper .widget *{border-color: }.footer-column-wrapper .widget .search-submit{background: }.footer-column-wrapper .widget .search-submit{color: }.site-info,.site-info *,.footer-column-wrapper .widget,.footer-column-wrapper .widget li,.footer-column-wrapper .widget p,.footer-column-wrapper abbr,.footer-column-wrapper cite,.footer-column-wrapper table caption,.footer-column-wrapper td,.footer-column-wrapper th{color: }</style><style type="text/css">.image-creativeily-header{background:#222 url(https://winterco.org/wp-content/uploads/2020/07/2020.07.13.12.22.2-optimized.jpg) center center no-repeat}.header .info h1,.header .meta p{color:#fff}https://winterco.org/wp-content/uploads/2020/07/2020.07.13.12.22.2-optimized.jpg"
.header .info h1, .header .meta p {color:#fff}</style><style type="text/css" id="wp-custom-css">@media screen and (min-width:1280px){.info{width:50%;right:3%;left:auto}}.info{text-shadow:2px 2px 5px black}.custom-logo{width:60px}.header .meta p{font-size:30px}.image-creativeily-header{background-position:23% center}@media screen and (max-width:1280px){.header .info h1{font-size:40px}.header .meta p{font-size:24px}}.site-info,.site-info *{font-size:12px;font-weight:300}</style></noscript><script data-pagespeed-no-defer>(function(){function b(){var a=window,c=e;if(a.addEventListener)a.addEventListener("load",c,!1);else if(a.attachEvent)a.attachEvent("onload",c);else{var d=a.onload;a.onload=function(){c.call(this);d&&d.call(this)}}};var f=!1;function e(){if(!f){f=!0;for(var a=document.getElementsByClassName("psa_add_styles"),c=0,d;d=a[c];++c)if("NOSCRIPT"==d.nodeName){var k=document.createElement("div");k.innerHTML=d.textContent;document.body.appendChild(k)}}}function g(){var a=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||null;a?a(function(){window.setTimeout(e,0)}):b()}
var h=["pagespeed","CriticalCssLoader","Run"],l=this;h[0]in l||!l.execScript||l.execScript("var "+h[0]);for(var m;h.length&&(m=h.shift());)h.length||void 0===g?l[m]?l=l[m]:l=l[m]={}:l[m]=g;})();
pagespeed.CriticalCssLoader.Run();</script></body>
</html>
* Connection #0 to host winterco.org left intact
```
The Cache-Control on the header is likely provided by Hummingbird, a plugin of WordPress and it does not interfere with PageSpeed. And I have `ModifyCachingHeaders` turned off. And CloudFlare never cache non-static assets unless `Cache Everything` is set.
These `Link` header are provided by `hint_preload_subresources` I believe. AFAIK there is no such feature in CloudFlare.
----------------------------------------------------------------
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:
users@infra.apache.org
[GitHub] [incubator-pagespeed-ngx] wfjsw commented on issue #1697: prioritize_critical_css loads css twice
Posted by GitBox <gi...@apache.org>.
wfjsw commented on issue #1697:
URL: https://github.com/apache/incubator-pagespeed-ngx/issues/1697#issuecomment-659301893
Negative. No cloudflare this time:
```
root@localhost ~ # curl -vv --insecure --resolve "winterco.org:443:127.0.0.1" https://winterco.org
* Expire in 0 ms for 6 (transfer 0x55d944151f50)
* Added winterco.org:443:127.0.0.1 to DNS cache
* Hostname winterco.org was found in DNS cache
* Trying 127.0.0.1...
* TCP_NODELAY set
* Expire in 200 ms for 4 (transfer 0x55d944151f50)
* Connected to winterco.org (127.0.0.1) port 443 (#0)
...(garbage)...
> GET / HTTP/2
> Host: winterco.org
> User-Agent: curl/7.64.0
> Accept: */*
>
* TLSv1.3 (IN), TLS handshake, Newsession Ticket (4):
* TLSv1.3 (IN), TLS handshake, Newsession Ticket (4):
* old SSL session ID is stale, removing
* Connection state changed (MAX_CONCURRENT_STREAMS == 128)!
< HTTP/2 200
< server: nginx
< date: Thu, 16 Jul 2020 09:40:51 GMT
< content-type: text/html; charset=UTF-8
< cache-control: max-age=3600, must-revalidate
< vary: Accept-Encoding, Cookie
< hummingbird-cache: Served
< x-content-type-options: nosniff
< x-xss-protection: 1; mode=block;
< x-powered-by: ASP.NET
< x-aspnet-version: 2.0.50727
< x-aspnetmvc-version: 2.0
< x-recruiting: Like hacking? Join us: winterco.org/careers
< x-page-speed: 1.13.35.2-0
< link: </wp-content/themes/creativeily-winterco-mod/style.css?ver=5.4.2>; rel=preload; as=style; nopush
< link: </wp-content/uploads/bws-custom-code/bws-custom-code.css?ver=5.4.2>; rel=preload; as=style; nopush
< link: </wp-content/themes/creativeily-winterco-mod/assets/js/creativeily.js?ver=5.4.2>; rel=preload; as=script; nopush
< link: </wp-content/themes/creativeily-winterco-mod/assets/js/accessibility.js?ver=5.4.2>; rel=preload; as=script; nopush
< link: </wp-includes/js/wp-embed.min.js?ver=5.4.2>; rel=preload; as=script; nopush
<
<!DOCTYPE html>
<html lang="zh-CN" class="no-js no-svg">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="profile" href="http://gmpg.org/xfn/11">
<title>凛冬华人联盟 – Winter Coalition</title>
<link rel='dns-prefetch' href='//www.googletagmanager.com'/>
<link rel='dns-prefetch' href='//fonts.googleapis.com'/>
<link rel='dns-prefetch' href='//cdn.jsdelivr.net'/>
<link rel='dns-prefetch' href='//recaptcha.net'/>
<link rel='dns-prefetch' href='//fonts.gstatic.com'/>
<link rel='dns-prefetch' href='//ajax.googleapis.com'/>
<link rel='dns-prefetch' href='//google-analytics.com'/>
<link rel='dns-prefetch' href='//www.google-analytics.com'/>
<link rel='dns-prefetch' href='//ssl.google-analytics.com'/>
<link rel="alternate" type="application/rss+xml" title="凛冬华人联盟 » Feed" href="https://winterco.org/feed/"/>
<link rel="alternate" type="application/rss+xml" title="凛冬华人联盟 » 评论Feed" href="https://winterco.org/comments/feed/"/>
<link rel='stylesheet' id='wp-block-library-css' href='https://cdn.jsdelivr.net/gh/WordPress/WordPress@5.4.2/wp-includes/css/dist/block-library/style.min.css?ver=5.4.2' type='text/css' media='all'/>
<link rel='stylesheet' id='comment_styles-css' href='https://cdn.jsdelivr.net/wp/plugins/wp-discourse/tags/2.0.6/lib/../css/comments.min.css?ver=1594583367' type='text/css' media='all'/>
<link rel='stylesheet' id='creativeily-google-fonts-css' href='https://fonts.googleapis.com/css2?family=Roboto%3Aital%2Cwght%400%2C400%3B0%2C500%3B0%2C700%3B0%2C900%3B1%2C400%3B1%2C500&display=swap&ver=5.4.2' type='text/css' media='all'/>
<link rel='stylesheet' id='dashicons-css' href='https://cdn.jsdelivr.net/gh/WordPress/WordPress@5.4.2/wp-includes/css/dashicons.min.css?ver=5.4.2' type='text/css' media='all'/>
<link rel='stylesheet' id='creativeily-style-css' href='https://winterco.org/wp-content/themes/creativeily-winterco-mod/style.css?ver=5.4.2' type='text/css' media='all'/>
<link rel='stylesheet' id='bws-custom-style-css' href='https://winterco.org/wp-content/uploads/bws-custom-code/bws-custom-code.css?ver=5.4.2' type='text/css' media='all'/>
<script type='text/javascript' src='https://cdn.jsdelivr.net/gh/WordPress/WordPress@5.4.2/wp-includes/js/jquery/jquery.js?ver=1.12.4-wp'></script>
<script type='text/javascript' src='https://cdn.jsdelivr.net/gh/WordPress/WordPress@5.4.2/wp-includes/js/jquery/jquery-migrate.min.js?ver=1.4.1'></script>
<script type='text/javascript' src='https://winterco.org/wp-content/themes/creativeily-winterco-mod/assets/js/creativeily.js?ver=5.4.2'></script>
<script type='text/javascript' src='https://winterco.org/wp-content/themes/creativeily-winterco-mod/assets/js/accessibility.js?ver=5.4.2'></script>
<script type='text/javascript' src='https://www.googletagmanager.com/gtag/js?id=UA-144673995-3'></script>
<script type='text/javascript'>window.dataLayer=window.dataLayer||[];function gtag(){dataLayer.push(arguments);}gtag('js',new Date());gtag('config','UA-144673995-3',{"anonymize_ip":true});</script>
<link rel='https://api.w.org/' href='https://winterco.org/wp-json/'/>
<link rel="EditURI" type="application/rsd+xml" title="RSD" href="https://winterco.org/xmlrpc.php?rsd"/>
<link rel="wlwmanifest" type="application/wlwmanifest+xml" href="https://winterco.org/wp-includes/wlwmanifest.xml"/>
<meta name="generator" content="WordPress 5.4.2"/>
<meta name="generator" content="Site Kit by Google 1.11.1"/> <style type="text/css" id="custom-theme-css">body{font-style:normal;font-weight:400;padding:0;margin:0;position:relative;-webkit-tap-highlight-color:transparent;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;-webkit-text-size-adjust:100%}#start{background-color:#f3f3f3}.header{position:relative;overflow:visible;display:-webkit-flex;-webkit-flex-wrap:wrap;justify-content:center;align-items:-webkit-flex-start;align-content:-webkit-flex-start;height:700px;height:100vh;max-height:100%;min-height:200px;min-width:300px;color:#eee}.image-creativeily-header{width:100%;height:100%;position:fixed;top:0;left:0;-webkit-backface-visibility:hidden;backface-visibility:hidden;-webkit-transform:translateZ(0) scale(1.0,1.0);transform:translateZ(0);-ms-transform:translateZ(0);background:;background-size:cover;background-attachment:scroll;-webkit-animation:grow 60s linear 10ms infinite;animation:grow 60s linear 10ms infinite;-webkit-transition:all .2s ease-in-out;transition:all .2s ease-in-out;z-index:-2}</style>
<style type="text/css">.has-sidebar #secondary{background: }.has-sidebar #secondary h2,.has-sidebar #secondary th{color: }.has-sidebar #secondary .widget,.has-sidebar #secondary li,.has-sidebar #secondary ul,.has-sidebar #secondary span,.has-sidebar #secondary div{color: }.has-sidebar #secondary button.search-submit{background: ;color:#fff}.has-sidebar #secondary a{color: }.has-sidebar #secondary *,.has-sidebar #secondary .widget h2{border-color: }.blog .wrapmain article{background: }.blog .wrapmain article h2,.blog .wrapmain article h2 a{color: }.postinfo,.postinfo *{color: }.blog .wrapmain article .entry-content p{color: }a.button.button-readmore{background: }a.button.button-readmore{color: }.wrapmain .search-submit{background: }.wrapmain .search-submit{color: }footer{background: }.site-info{color: }</style>
<style type="text/css">.image-creativeily-header{background:#222 url(https://winterco.org/wp-content/uploads/2020/07/2020.07.13.12.22.2-optimized.jpg) center center no-repeat}.header .info h1,.header .meta p{color:#fff}https://winterco.org/wp-content/uploads/2020/07/2020.07.13.12.22.2-optimized.jpg"
.header .info h1, .header .meta p {color:#fff}</style>
<link rel="icon" href="https://winterco.org/wp-content/uploads/2020/07/cropped-11355daf357ecd7cd74ad2c64b3de3e4b15ba35c-32x32.png" sizes="32x32"/>
<link rel="icon" href="https://winterco.org/wp-content/uploads/2020/07/cropped-11355daf357ecd7cd74ad2c64b3de3e4b15ba35c-192x192.png" sizes="192x192"/>
<link rel="apple-touch-icon" href="https://winterco.org/wp-content/uploads/2020/07/cropped-11355daf357ecd7cd74ad2c64b3de3e4b15ba35c-180x180.png"/>
<meta name="msapplication-TileImage" content="https://winterco.org/wp-content/uploads/2020/07/cropped-11355daf357ecd7cd74ad2c64b3de3e4b15ba35c-270x270.png"/>
<style type="text/css" id="wp-custom-css">@media screen and (min-width:1280px){.info{width:50%;right:3%;left:auto}}.info{text-shadow:2px 2px 5px black}.custom-logo{width:60px}.header .meta p{font-size:30px}.image-creativeily-header{background-position:23% center}@media screen and (max-width:1280px){.header .info h1{font-size:40px}.header .meta p{font-size:24px}}.site-info{font-size:12px;font-weight:300}</style>
</head>
<body class="home blog wp-custom-logo">
<a class="skip-link screen-reader-text" href="#content">Skip to content</a>
<div id="page" class="site has-sidebar">
<div class="header">
<div class="image-creativeily-header"></div>
<div class="header-top">
<a href="https://winterco.org/" class="custom-logo-link" rel="home"><img width="120" height="120" src="https://winterco.org/wp-content/uploads/2020/07/dc93e8bf55b0efd7a0b6c74c4f62a426e98fd5e3.png" class="custom-logo" alt="凛冬华人联盟" srcset="https://winterco.org/wp-content/uploads/2020/07/dc93e8bf55b0efd7a0b6c74c4f62a426e98fd5e3.png 120w, https://winterco.org/wp-content/uploads/2020/07/dc93e8bf55b0efd7a0b6c74c4f62a426e98fd5e3-100x100.png 100w" sizes="(max-width: 120px) 100vw, 120px"/></a>
</div>
<div class="info">
...(garbage)...
</div>
</div>
<script type='text/javascript'>var wpdc={"commentsURL":"https:\/\/winterco.org\/wp-json\/wp-discourse\/v1\/discourse-comments"};</script>
<script type='text/javascript' src='https://cdn.jsdelivr.net/gh/discourse/wp-discourse@1.8.7/js/load-comments.min.js?ver=1594583367'></script>
<script type='text/javascript' src='https://winterco.org/wp-includes/js/wp-embed.min.js?ver=5.4.2'></script>
<noscript class="psa_add_styles"><link rel='stylesheet' id='wp-block-library-css' href='https://cdn.jsdelivr.net/gh/WordPress/WordPress@5.4.2/wp-includes/css/dist/block-library/style.min.css?ver=5.4.2' type='text/css' media='all'/><link rel='stylesheet' id='comment_styles-css' href='https://cdn.jsdelivr.net/wp/plugins/wp-discourse/tags/2.0.6/lib/../css/comments.min.css?ver=1594583367' type='text/css' media='all'/><link rel='stylesheet' id='creativeily-google-fonts-css' href='https://fonts.googleapis.com/css2?family=Roboto%3Aital%2Cwght%400%2C400%3B0%2C500%3B0%2C700%3B0%2C900%3B1%2C400%3B1%2C500&display=swap&ver=5.4.2' type='text/css' media='all'/><link rel='stylesheet' id='dashicons-css' href='https://cdn.jsdelivr.net/gh/WordPress/WordPress@5.4.2/wp-includes/css/dashicons.min.css?ver=5.4.2' type='text/css' media='all'/><link rel='stylesheet' id='creativeily-style-css' href='https://winterco.org/wp-content/themes/creativeily-winterco-mod/style.css?ver=5.4.2' type='text/css' media='all'/><link rel='stylesheet' id='bws-custom-style-css' href='https://winterco.org/wp-content/uploads/bws-custom-code/bws-custom-code.css?ver=5.4.2' type='text/css' media='all'/><style type="text/css" id="custom-theme-css">body{font-style:normal;font-weight:400;padding:0;margin:0;position:relative;-webkit-tap-highlight-color:transparent;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;-webkit-text-size-adjust:100%}#start{background-color:#f3f3f3}.header{position:relative;overflow:visible;display:-webkit-flex;-webkit-flex-wrap:wrap;justify-content:center;align-items:-webkit-flex-start;align-content:-webkit-flex-start;height:700px;height:100vh;max-height:100%;min-height:200px;min-width:300px;color:#eee}#top-menu li:after{content:"";display:block;margin:0 auto;width:30px;margin-bottom:.7em;margin-top:.7em}.image-creativeily-header{width:100%;height:100%;position:fixed;top:0;left:0;-webkit-backface-visibility:hidden;backface-visibility:hidden;-webkit-transform:translateZ(0) scale(1.0,1.0);transform:translateZ(0);-ms-transform:translateZ(0);background:;background-size:cover;background-attachment:scroll;-webkit-animation:grow 60s linear 10ms infinite;animation:grow 60s linear 10ms infinite;-webkit-transition:all .2s ease-in-out;transition:all .2s ease-in-out;z-index:-2}</style><style type="text/css">.header a.logo,.logo:hover{color: }.has-sidebar #secondary{background: }.has-sidebar #secondary h2,.has-sidebar #secondary h1,.has-sidebar #secondary h3,.has-sidebar #secondary h4,.has-sidebar #secondary h5,.has-sidebar #secondary h6,.has-sidebar #secondary th{color: }.has-sidebar #secondary p,.has-sidebar #secondary .widget,.has-sidebar #secondary li,.has-sidebar #secondary ol,.has-sidebar #secondary ul,.has-sidebar #secondary dd,.has-sidebar #secondary span,.has-sidebar #secondary div{color: }.has-sidebar #secondary button.search-submit{background: ;color:#fff}.has-sidebar #secondary a{color: }.has-sidebar #secondary *,.has-sidebar #secondary .widget h2{border-color: }.blog .wrapmain article,.archive .wrapmain article,.search-results .wrapmain article{background: }.blog .wrapmain article h2,.archive .wrapmain article h2,.search-results .wrapmain article h2,.blog .wrapmain article h2 a,.archive .wrapmain article h2 a,.search-results .wrapmain article h2 a{color: }.postinfo,.postinfo *{color: }.blog .wrapmain article .entry-content p,.archive .wrapmain article .entry-content p,.search-results .wrapmain article .entry-content p{color: }a.button.button-readmore{background: }a.button.button-readmore{color: }.error404 .content-area,.search-no-results .content-area,.single .wrapmain article,.page .wrapmain article,#commentform{background: }#commentform label,h3#reply-title,h2.comments-title,.page .wrapmain article h1,.page .wrapmain article h2,.page .wrapmain article h3,.page .wrapmain article h4,.page .wrapmain article h5,.page .wrapmain article h6,.page .wrapmain article th,.single .wrapmain article h1,.single .wrapmain article h2,.single .wrapmain article h3,.single .wrapmain article h4,.single .wrapmain article h5,.single .wrapmain article h6,.single .wrapmain article th{color: }.error404 .content-area p,.search-no-results .content-area p,.single .wrapmain article,.single .wrapmain article p,.single .wrapmain article dd,.single .wrapmain article li,.single .wrapmain article ul,.single .wrapmain article ol,.single .wrapmain article address,.single .wrapmain article table,.single .wrapmain article th,.single .wrapmain article td,.single .wrapmain article blockquote,.single .wrapmain article span,.single .wrapmain article div .page .wrapmain article,.page .wrapmain article p,.page .wrapmain article dd,.page .wrapmain article li,.page .wrapmain article ul,.page .wrapmain article ol,.page .wrapmain article address,.page .wrapmain article table,.page .wrapmain article th,.page .wrapmain article td,.page .wrapmain article blockquote,.page .wrapmain article span,.page .wrapmain article div{color: }.single .wrapmain article a,.page .wrapmain article a{color: }.wrapmain .search-submit,.page .wrapmain article a.button,.single .wrapmain article a.button,.nav-links span.button,form#commentform input#submit{background: }.wrapmain .search-submit,.nav-links span.button,form#commentform input#submit{color: }.page .wrapmain article td,.single .wrapmain article td,.page .wrapmain article th,.single .wrapmain article th,.single .wrapmain article *,.page .wrapmain article *{border-color: }.footer-column-three h3{color: }footer{background: }.footer-column-wrapper .widget a{color: }.footer-column-wrapper .widget *{border-color: }.footer-column-wrapper .widget .search-submit{background: }.footer-column-wrapper .widget .search-submit{color: }.site-info,.site-info *,.footer-column-wrapper .widget,.footer-column-wrapper .widget li,.footer-column-wrapper .widget p,.footer-column-wrapper abbr,.footer-column-wrapper cite,.footer-column-wrapper table caption,.footer-column-wrapper td,.footer-column-wrapper th{color: }</style><style type="text/css">.image-creativeily-header{background:#222 url(https://winterco.org/wp-content/uploads/2020/07/2020.07.13.12.22.2-optimized.jpg) center center no-repeat}.header .info h1,.header .meta p{color:#fff}https://winterco.org/wp-content/uploads/2020/07/2020.07.13.12.22.2-optimized.jpg"
.header .info h1, .header .meta p {color:#fff}</style><style type="text/css" id="wp-custom-css">@media screen and (min-width:1280px){.info{width:50%;right:3%;left:auto}}.info{text-shadow:2px 2px 5px black}.custom-logo{width:60px}.header .meta p{font-size:30px}.image-creativeily-header{background-position:23% center}@media screen and (max-width:1280px){.header .info h1{font-size:40px}.header .meta p{font-size:24px}}.site-info,.site-info *{font-size:12px;font-weight:300}</style></noscript><script data-pagespeed-no-defer>(function(){function b(){var a=window,c=e;if(a.addEventListener)a.addEventListener("load",c,!1);else if(a.attachEvent)a.attachEvent("onload",c);else{var d=a.onload;a.onload=function(){c.call(this);d&&d.call(this)}}};var f=!1;function e(){if(!f){f=!0;for(var a=document.getElementsByClassName("psa_add_styles"),c=0,d;d=a[c];++c)if("NOSCRIPT"==d.nodeName){var k=document.createElement("div");k.innerHTML=d.textContent;document.body.appendChild(k)}}}function g(){var a=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||null;a?a(function(){window.setTimeout(e,0)}):b()}
var h=["pagespeed","CriticalCssLoader","Run"],l=this;h[0]in l||!l.execScript||l.execScript("var "+h[0]);for(var m;h.length&&(m=h.shift());)h.length||void 0===g?l[m]?l=l[m]:l=l[m]={}:l[m]=g;})();
pagespeed.CriticalCssLoader.Run();</script></body>
</html>
* Connection #0 to host winterco.org left intact
```
The Cache-Control on the header is likely provided by Hummingbird, a plugin of WordPress and it does not interfere with PageSpeed.
These `Link` header are provided by `hint_preload_subresources` I believe.
----------------------------------------------------------------
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:
users@infra.apache.org
[GitHub] [incubator-pagespeed-ngx] Lofesa commented on issue #1697: prioritize_critical_css loads css twice
Posted by GitBox <gi...@apache.org>.
Lofesa commented on issue #1697:
URL: https://github.com/apache/incubator-pagespeed-ngx/issues/1697#issuecomment-660685356
Someting is changing the url of the files. See these images:


I think if you are using Cloudflare don´t need a 2nd CDN as far as Clodflare is a CDN himself.
And I only see `<link>` tags when the file comes from `cdn.jsdelivr.net` because pagespeed let it untouched. When the file comes from `winterco.org ` get the css above the fold inlined and the file loaded by the javascript snipet.
----------------------------------------------------------------
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:
users@infra.apache.org
[GitHub] [incubator-pagespeed-ngx] wfjsw edited a comment on issue #1697: prioritize_critical_css loads css twice
Posted by GitBox <gi...@apache.org>.
wfjsw edited a comment on issue #1697:
URL: https://github.com/apache/incubator-pagespeed-ngx/issues/1697#issuecomment-659301893
Negative. No cloudflare this time:
```
root@localhost ~ # curl -vv --insecure --resolve "winterco.org:443:127.0.0.1" https://winterco.org
* Expire in 0 ms for 6 (transfer 0x55d944151f50)
* Added winterco.org:443:127.0.0.1 to DNS cache
* Hostname winterco.org was found in DNS cache
* Trying 127.0.0.1...
* TCP_NODELAY set
* Expire in 200 ms for 4 (transfer 0x55d944151f50)
* Connected to winterco.org (127.0.0.1) port 443 (#0)
...(garbage)...
> GET / HTTP/2
> Host: winterco.org
> User-Agent: curl/7.64.0
> Accept: */*
>
* TLSv1.3 (IN), TLS handshake, Newsession Ticket (4):
* TLSv1.3 (IN), TLS handshake, Newsession Ticket (4):
* old SSL session ID is stale, removing
* Connection state changed (MAX_CONCURRENT_STREAMS == 128)!
< HTTP/2 200
< server: nginx
< date: Thu, 16 Jul 2020 09:40:51 GMT
< content-type: text/html; charset=UTF-8
< cache-control: max-age=3600, must-revalidate
< vary: Accept-Encoding, Cookie
< hummingbird-cache: Served
< x-content-type-options: nosniff
< x-xss-protection: 1; mode=block;
< x-powered-by: ASP.NET
< x-aspnet-version: 2.0.50727
< x-aspnetmvc-version: 2.0
< x-recruiting: Like hacking? Join us: winterco.org/careers
< x-page-speed: 1.13.35.2-0
< link: </wp-content/themes/creativeily-winterco-mod/style.css?ver=5.4.2>; rel=preload; as=style; nopush
< link: </wp-content/uploads/bws-custom-code/bws-custom-code.css?ver=5.4.2>; rel=preload; as=style; nopush
< link: </wp-content/themes/creativeily-winterco-mod/assets/js/creativeily.js?ver=5.4.2>; rel=preload; as=script; nopush
< link: </wp-content/themes/creativeily-winterco-mod/assets/js/accessibility.js?ver=5.4.2>; rel=preload; as=script; nopush
< link: </wp-includes/js/wp-embed.min.js?ver=5.4.2>; rel=preload; as=script; nopush
<
<!DOCTYPE html>
<html lang="zh-CN" class="no-js no-svg">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="profile" href="http://gmpg.org/xfn/11">
<title>凛冬华人联盟 – Winter Coalition</title>
<link rel='dns-prefetch' href='//www.googletagmanager.com'/>
<link rel='dns-prefetch' href='//fonts.googleapis.com'/>
<link rel='dns-prefetch' href='//cdn.jsdelivr.net'/>
<link rel='dns-prefetch' href='//recaptcha.net'/>
<link rel='dns-prefetch' href='//fonts.gstatic.com'/>
<link rel='dns-prefetch' href='//ajax.googleapis.com'/>
<link rel='dns-prefetch' href='//google-analytics.com'/>
<link rel='dns-prefetch' href='//www.google-analytics.com'/>
<link rel='dns-prefetch' href='//ssl.google-analytics.com'/>
<link rel="alternate" type="application/rss+xml" title="凛冬华人联盟 » Feed" href="https://winterco.org/feed/"/>
<link rel="alternate" type="application/rss+xml" title="凛冬华人联盟 » 评论Feed" href="https://winterco.org/comments/feed/"/>
<link rel='stylesheet' id='wp-block-library-css' href='https://cdn.jsdelivr.net/gh/WordPress/WordPress@5.4.2/wp-includes/css/dist/block-library/style.min.css?ver=5.4.2' type='text/css' media='all'/>
<link rel='stylesheet' id='comment_styles-css' href='https://cdn.jsdelivr.net/wp/plugins/wp-discourse/tags/2.0.6/lib/../css/comments.min.css?ver=1594583367' type='text/css' media='all'/>
<link rel='stylesheet' id='creativeily-google-fonts-css' href='https://fonts.googleapis.com/css2?family=Roboto%3Aital%2Cwght%400%2C400%3B0%2C500%3B0%2C700%3B0%2C900%3B1%2C400%3B1%2C500&display=swap&ver=5.4.2' type='text/css' media='all'/>
<link rel='stylesheet' id='dashicons-css' href='https://cdn.jsdelivr.net/gh/WordPress/WordPress@5.4.2/wp-includes/css/dashicons.min.css?ver=5.4.2' type='text/css' media='all'/>
<link rel='stylesheet' id='creativeily-style-css' href='https://winterco.org/wp-content/themes/creativeily-winterco-mod/style.css?ver=5.4.2' type='text/css' media='all'/>
<link rel='stylesheet' id='bws-custom-style-css' href='https://winterco.org/wp-content/uploads/bws-custom-code/bws-custom-code.css?ver=5.4.2' type='text/css' media='all'/>
<script type='text/javascript' src='https://cdn.jsdelivr.net/gh/WordPress/WordPress@5.4.2/wp-includes/js/jquery/jquery.js?ver=1.12.4-wp'></script>
<script type='text/javascript' src='https://cdn.jsdelivr.net/gh/WordPress/WordPress@5.4.2/wp-includes/js/jquery/jquery-migrate.min.js?ver=1.4.1'></script>
<script type='text/javascript' src='https://winterco.org/wp-content/themes/creativeily-winterco-mod/assets/js/creativeily.js?ver=5.4.2'></script>
<script type='text/javascript' src='https://winterco.org/wp-content/themes/creativeily-winterco-mod/assets/js/accessibility.js?ver=5.4.2'></script>
<script type='text/javascript' src='https://www.googletagmanager.com/gtag/js?id=UA-144673995-3'></script>
<script type='text/javascript'>window.dataLayer=window.dataLayer||[];function gtag(){dataLayer.push(arguments);}gtag('js',new Date());gtag('config','UA-144673995-3',{"anonymize_ip":true});</script>
<link rel='https://api.w.org/' href='https://winterco.org/wp-json/'/>
<link rel="EditURI" type="application/rsd+xml" title="RSD" href="https://winterco.org/xmlrpc.php?rsd"/>
<link rel="wlwmanifest" type="application/wlwmanifest+xml" href="https://winterco.org/wp-includes/wlwmanifest.xml"/>
<meta name="generator" content="WordPress 5.4.2"/>
<meta name="generator" content="Site Kit by Google 1.11.1"/> <style type="text/css" id="custom-theme-css">body{font-style:normal;font-weight:400;padding:0;margin:0;position:relative;-webkit-tap-highlight-color:transparent;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;-webkit-text-size-adjust:100%}#start{background-color:#f3f3f3}.header{position:relative;overflow:visible;display:-webkit-flex;-webkit-flex-wrap:wrap;justify-content:center;align-items:-webkit-flex-start;align-content:-webkit-flex-start;height:700px;height:100vh;max-height:100%;min-height:200px;min-width:300px;color:#eee}.image-creativeily-header{width:100%;height:100%;position:fixed;top:0;left:0;-webkit-backface-visibility:hidden;backface-visibility:hidden;-webkit-transform:translateZ(0) scale(1.0,1.0);transform:translateZ(0);-ms-transform:translateZ(0);background:;background-size:cover;background-attachment:scroll;-webkit-animation:grow 60s linear 10ms infinite;animation:grow 60s linear 10ms infinite;-webkit-transition:all .2s ease-in-out;transition:all .2s ease-in-out;z-index:-2}</style>
<style type="text/css">.has-sidebar #secondary{background: }.has-sidebar #secondary h2,.has-sidebar #secondary th{color: }.has-sidebar #secondary .widget,.has-sidebar #secondary li,.has-sidebar #secondary ul,.has-sidebar #secondary span,.has-sidebar #secondary div{color: }.has-sidebar #secondary button.search-submit{background: ;color:#fff}.has-sidebar #secondary a{color: }.has-sidebar #secondary *,.has-sidebar #secondary .widget h2{border-color: }.blog .wrapmain article{background: }.blog .wrapmain article h2,.blog .wrapmain article h2 a{color: }.postinfo,.postinfo *{color: }.blog .wrapmain article .entry-content p{color: }a.button.button-readmore{background: }a.button.button-readmore{color: }.wrapmain .search-submit{background: }.wrapmain .search-submit{color: }footer{background: }.site-info{color: }</style>
<style type="text/css">.image-creativeily-header{background:#222 url(https://winterco.org/wp-content/uploads/2020/07/2020.07.13.12.22.2-optimized.jpg) center center no-repeat}.header .info h1,.header .meta p{color:#fff}https://winterco.org/wp-content/uploads/2020/07/2020.07.13.12.22.2-optimized.jpg"
.header .info h1, .header .meta p {color:#fff}</style>
<link rel="icon" href="https://winterco.org/wp-content/uploads/2020/07/cropped-11355daf357ecd7cd74ad2c64b3de3e4b15ba35c-32x32.png" sizes="32x32"/>
<link rel="icon" href="https://winterco.org/wp-content/uploads/2020/07/cropped-11355daf357ecd7cd74ad2c64b3de3e4b15ba35c-192x192.png" sizes="192x192"/>
<link rel="apple-touch-icon" href="https://winterco.org/wp-content/uploads/2020/07/cropped-11355daf357ecd7cd74ad2c64b3de3e4b15ba35c-180x180.png"/>
<meta name="msapplication-TileImage" content="https://winterco.org/wp-content/uploads/2020/07/cropped-11355daf357ecd7cd74ad2c64b3de3e4b15ba35c-270x270.png"/>
<style type="text/css" id="wp-custom-css">@media screen and (min-width:1280px){.info{width:50%;right:3%;left:auto}}.info{text-shadow:2px 2px 5px black}.custom-logo{width:60px}.header .meta p{font-size:30px}.image-creativeily-header{background-position:23% center}@media screen and (max-width:1280px){.header .info h1{font-size:40px}.header .meta p{font-size:24px}}.site-info{font-size:12px;font-weight:300}</style>
</head>
<body class="home blog wp-custom-logo">
<a class="skip-link screen-reader-text" href="#content">Skip to content</a>
<div id="page" class="site has-sidebar">
<div class="header">
<div class="image-creativeily-header"></div>
<div class="header-top">
<a href="https://winterco.org/" class="custom-logo-link" rel="home"><img width="120" height="120" src="https://winterco.org/wp-content/uploads/2020/07/dc93e8bf55b0efd7a0b6c74c4f62a426e98fd5e3.png" class="custom-logo" alt="凛冬华人联盟" srcset="https://winterco.org/wp-content/uploads/2020/07/dc93e8bf55b0efd7a0b6c74c4f62a426e98fd5e3.png 120w, https://winterco.org/wp-content/uploads/2020/07/dc93e8bf55b0efd7a0b6c74c4f62a426e98fd5e3-100x100.png 100w" sizes="(max-width: 120px) 100vw, 120px"/></a>
</div>
<div class="info">
...(garbage)...
</div>
</div>
<script type='text/javascript'>var wpdc={"commentsURL":"https:\/\/winterco.org\/wp-json\/wp-discourse\/v1\/discourse-comments"};</script>
<script type='text/javascript' src='https://cdn.jsdelivr.net/gh/discourse/wp-discourse@1.8.7/js/load-comments.min.js?ver=1594583367'></script>
<script type='text/javascript' src='https://winterco.org/wp-includes/js/wp-embed.min.js?ver=5.4.2'></script>
<noscript class="psa_add_styles"><link rel='stylesheet' id='wp-block-library-css' href='https://cdn.jsdelivr.net/gh/WordPress/WordPress@5.4.2/wp-includes/css/dist/block-library/style.min.css?ver=5.4.2' type='text/css' media='all'/><link rel='stylesheet' id='comment_styles-css' href='https://cdn.jsdelivr.net/wp/plugins/wp-discourse/tags/2.0.6/lib/../css/comments.min.css?ver=1594583367' type='text/css' media='all'/><link rel='stylesheet' id='creativeily-google-fonts-css' href='https://fonts.googleapis.com/css2?family=Roboto%3Aital%2Cwght%400%2C400%3B0%2C500%3B0%2C700%3B0%2C900%3B1%2C400%3B1%2C500&display=swap&ver=5.4.2' type='text/css' media='all'/><link rel='stylesheet' id='dashicons-css' href='https://cdn.jsdelivr.net/gh/WordPress/WordPress@5.4.2/wp-includes/css/dashicons.min.css?ver=5.4.2' type='text/css' media='all'/><link rel='stylesheet' id='creativeily-style-css' href='https://winterco.org/wp-content/themes/creativeily-winterco-mod/style.css?ver=5.4.2' type='text/css' media='all'/><link rel='stylesheet' id='bws-custom-style-css' href='https://winterco.org/wp-content/uploads/bws-custom-code/bws-custom-code.css?ver=5.4.2' type='text/css' media='all'/><style type="text/css" id="custom-theme-css">body{font-style:normal;font-weight:400;padding:0;margin:0;position:relative;-webkit-tap-highlight-color:transparent;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;-webkit-text-size-adjust:100%}#start{background-color:#f3f3f3}.header{position:relative;overflow:visible;display:-webkit-flex;-webkit-flex-wrap:wrap;justify-content:center;align-items:-webkit-flex-start;align-content:-webkit-flex-start;height:700px;height:100vh;max-height:100%;min-height:200px;min-width:300px;color:#eee}#top-menu li:after{content:"";display:block;margin:0 auto;width:30px;margin-bottom:.7em;margin-top:.7em}.image-creativeily-header{width:100%;height:100%;position:fixed;top:0;left:0;-webkit-backface-visibility:hidden;backface-visibility:hidden;-webkit-transform:translateZ(0) scale(1.0,1.0);transform:translateZ(0);-ms-transform:translateZ(0);background:;background-size:cover;background-attachment:scroll;-webkit-animation:grow 60s linear 10ms infinite;animation:grow 60s linear 10ms infinite;-webkit-transition:all .2s ease-in-out;transition:all .2s ease-in-out;z-index:-2}</style><style type="text/css">.header a.logo,.logo:hover{color: }.has-sidebar #secondary{background: }.has-sidebar #secondary h2,.has-sidebar #secondary h1,.has-sidebar #secondary h3,.has-sidebar #secondary h4,.has-sidebar #secondary h5,.has-sidebar #secondary h6,.has-sidebar #secondary th{color: }.has-sidebar #secondary p,.has-sidebar #secondary .widget,.has-sidebar #secondary li,.has-sidebar #secondary ol,.has-sidebar #secondary ul,.has-sidebar #secondary dd,.has-sidebar #secondary span,.has-sidebar #secondary div{color: }.has-sidebar #secondary button.search-submit{background: ;color:#fff}.has-sidebar #secondary a{color: }.has-sidebar #secondary *,.has-sidebar #secondary .widget h2{border-color: }.blog .wrapmain article,.archive .wrapmain article,.search-results .wrapmain article{background: }.blog .wrapmain article h2,.archive .wrapmain article h2,.search-results .wrapmain article h2,.blog .wrapmain article h2 a,.archive .wrapmain article h2 a,.search-results .wrapmain article h2 a{color: }.postinfo,.postinfo *{color: }.blog .wrapmain article .entry-content p,.archive .wrapmain article .entry-content p,.search-results .wrapmain article .entry-content p{color: }a.button.button-readmore{background: }a.button.button-readmore{color: }.error404 .content-area,.search-no-results .content-area,.single .wrapmain article,.page .wrapmain article,#commentform{background: }#commentform label,h3#reply-title,h2.comments-title,.page .wrapmain article h1,.page .wrapmain article h2,.page .wrapmain article h3,.page .wrapmain article h4,.page .wrapmain article h5,.page .wrapmain article h6,.page .wrapmain article th,.single .wrapmain article h1,.single .wrapmain article h2,.single .wrapmain article h3,.single .wrapmain article h4,.single .wrapmain article h5,.single .wrapmain article h6,.single .wrapmain article th{color: }.error404 .content-area p,.search-no-results .content-area p,.single .wrapmain article,.single .wrapmain article p,.single .wrapmain article dd,.single .wrapmain article li,.single .wrapmain article ul,.single .wrapmain article ol,.single .wrapmain article address,.single .wrapmain article table,.single .wrapmain article th,.single .wrapmain article td,.single .wrapmain article blockquote,.single .wrapmain article span,.single .wrapmain article div .page .wrapmain article,.page .wrapmain article p,.page .wrapmain article dd,.page .wrapmain article li,.page .wrapmain article ul,.page .wrapmain article ol,.page .wrapmain article address,.page .wrapmain article table,.page .wrapmain article th,.page .wrapmain article td,.page .wrapmain article blockquote,.page .wrapmain article span,.page .wrapmain article div{color: }.single .wrapmain article a,.page .wrapmain article a{color: }.wrapmain .search-submit,.page .wrapmain article a.button,.single .wrapmain article a.button,.nav-links span.button,form#commentform input#submit{background: }.wrapmain .search-submit,.nav-links span.button,form#commentform input#submit{color: }.page .wrapmain article td,.single .wrapmain article td,.page .wrapmain article th,.single .wrapmain article th,.single .wrapmain article *,.page .wrapmain article *{border-color: }.footer-column-three h3{color: }footer{background: }.footer-column-wrapper .widget a{color: }.footer-column-wrapper .widget *{border-color: }.footer-column-wrapper .widget .search-submit{background: }.footer-column-wrapper .widget .search-submit{color: }.site-info,.site-info *,.footer-column-wrapper .widget,.footer-column-wrapper .widget li,.footer-column-wrapper .widget p,.footer-column-wrapper abbr,.footer-column-wrapper cite,.footer-column-wrapper table caption,.footer-column-wrapper td,.footer-column-wrapper th{color: }</style><style type="text/css">.image-creativeily-header{background:#222 url(https://winterco.org/wp-content/uploads/2020/07/2020.07.13.12.22.2-optimized.jpg) center center no-repeat}.header .info h1,.header .meta p{color:#fff}https://winterco.org/wp-content/uploads/2020/07/2020.07.13.12.22.2-optimized.jpg"
.header .info h1, .header .meta p {color:#fff}</style><style type="text/css" id="wp-custom-css">@media screen and (min-width:1280px){.info{width:50%;right:3%;left:auto}}.info{text-shadow:2px 2px 5px black}.custom-logo{width:60px}.header .meta p{font-size:30px}.image-creativeily-header{background-position:23% center}@media screen and (max-width:1280px){.header .info h1{font-size:40px}.header .meta p{font-size:24px}}.site-info,.site-info *{font-size:12px;font-weight:300}</style></noscript><script data-pagespeed-no-defer>(function(){function b(){var a=window,c=e;if(a.addEventListener)a.addEventListener("load",c,!1);else if(a.attachEvent)a.attachEvent("onload",c);else{var d=a.onload;a.onload=function(){c.call(this);d&&d.call(this)}}};var f=!1;function e(){if(!f){f=!0;for(var a=document.getElementsByClassName("psa_add_styles"),c=0,d;d=a[c];++c)if("NOSCRIPT"==d.nodeName){var k=document.createElement("div");k.innerHTML=d.textContent;document.body.appendChild(k)}}}function g(){var a=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||null;a?a(function(){window.setTimeout(e,0)}):b()}
var h=["pagespeed","CriticalCssLoader","Run"],l=this;h[0]in l||!l.execScript||l.execScript("var "+h[0]);for(var m;h.length&&(m=h.shift());)h.length||void 0===g?l[m]?l=l[m]:l=l[m]={}:l[m]=g;})();
pagespeed.CriticalCssLoader.Run();</script></body>
</html>
* Connection #0 to host winterco.org left intact
```
The Cache-Control on the header is likely provided by Hummingbird, a plugin of WordPress and it does not interfere with PageSpeed. And I have `ModifyCachingHeaders` turned off.
These `Link` header are provided by `hint_preload_subresources` I believe. AFAIK there is no such feature in CloudFlare.
----------------------------------------------------------------
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:
users@infra.apache.org
[GitHub] [incubator-pagespeed-ngx] wfjsw commented on issue #1697: prioritize_critical_css loads css twice
Posted by GitBox <gi...@apache.org>.
wfjsw commented on issue #1697:
URL: https://github.com/apache/incubator-pagespeed-ngx/issues/1697#issuecomment-659455701
^^ I have provided the curl result without cloudflare there. Problem persists.
https://github.com/apache/incubator-pagespeed-ngx/issues/1697#issuecomment-659301893
----------------------------------------------------------------
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:
users@infra.apache.org
[GitHub] [incubator-pagespeed-ngx] wfjsw commented on issue #1697: prioritize_critical_css loads css twice
Posted by GitBox <gi...@apache.org>.
wfjsw commented on issue #1697:
URL: https://github.com/apache/incubator-pagespeed-ngx/issues/1697#issuecomment-659166689
https://winterco.org
^^
I'm pretty sure I see the original stylesheet links.
----------------------------------------------------------------
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:
users@infra.apache.org
[GitHub] [incubator-pagespeed-ngx] oschaaf commented on issue #1697: prioritize_critical_css loads css twice
Posted by GitBox <gi...@apache.org>.
oschaaf commented on issue #1697:
URL: https://github.com/apache/incubator-pagespeed-ngx/issues/1697#issuecomment-659272623
Is there some form is html caching going on?
I'm curious what happens when cloudflare is taken out of the equation.
----------------------------------------------------------------
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:
users@infra.apache.org