This plugin should not load all css and scripts, in fact I designed it specifically not too.
The rule that should be applied is that if the CSS or script is in the head of the document it will be preloaded and if it is in the footer it will not. Although it is possible another plugin (possibly Gonsalez) is interfering with my plugin.
Can you
1. Verify that assets in the footer are still being pushed when all other plugins are deactivated.
2. Once that is verified, send me some example URLs where this behaviour occurs.
What I found:
WP Rocket (caching plugin) move most of my css and js files to footer. When WP Rocke enable LH HTTP/2 Server Push willn’t work. Headers will be damaged.
Gonzales YES, WP Rocket YES, LH http2 Server Push NO
cache-control:no-transform
cache-control:no-store, no-cache, must-revalidate
content-encoding:br
content-type:text/html; charset=UTF-8
date:Wed, 09 Aug 2017 19:09:47 GMT
expires:Thu, 19 Nov 1981 08:52:00 GMT
last-modified:Wed, 09 Aug 2017 19:09:47 GMT
link:<https://domisolnce.ru/>; rel=shortlink
link:<https://domisolnce.ru/wp-json/>; rel=”https://api.w.org/”
pragma:no-cache
referrer-policy:origin-when-cross-origin
server:nginx
status:200
strict-transport-security:max-age=15768000
vary:Accept-Encoding
x-content-type-options:nosniff
x-xss-protection:1; mode=block
Gonzales YES, WP Rocket YES, LH http2 Server Push YES
cache-control:no-transform
content-encoding:br
content-type:text/html; charset=UTF-8
date:Wed, 09 Aug 2017 19:07:47 GMT
referrer-policy:origin-when-cross-origin
server:nginx
status:200
strict-transport-security:max-age=15768000
vary:Accept-Encoding
x-content-type-options:nosniff
x-xss-protection:1; mode=block
When Gonzales is ON and WP Rocket OFF most css and js files loading in head. But Gonzales disable some of them and it will not load (no link in page code).
When I enable LH http2 Server Push all disabled by Gonzales files appear again in head.
PS Dont have public dev enviroment right now, and link to production won’t help.