NGINX and "Inline and Defer CSS"
-
Hello Frank,
Hope you have been well. Recently I migrated a site to a VPS with easyengine and is pure NGINX with redis cache and php7.
Everything has been working fine, until I decided to try “Inline and Defer CSS” since I had some extra time to work on to get the CSS. It seems like when I activate it, it will include the CSS I put for above the fold, but the JS line that it usually puts at the footer to call for the CSS is not there. So it tries to work but it seems like it forgets to put that script to load the CSS after the page has loaded.
I tried to disable the CDN, reinstalled the plugin, cleared caches and no go. I have similar setup in a different hosting with Apache + varnish and php 5.4 (I know old, but that’s another story) with no problems on this setting for above the fold.
I saw another topic with NGINX, but his problem is that nothing was working at all so I am not sure if is related or not because without “inline and defer” the CSS is combined without problems as external or inline.
The topic ‘NGINX and "Inline and Defer CSS"’ is closed to new replies.