Critical CSS
-
I am confused about how to unload all uncritical CSS from the header using PHP deregister function and enqueue it in the header.
As I am using w3 cache total plugin. So, It has a separate minified CSS file for each page. I can’t deregister and enqueue each file from theme function.php as it will load all files on each page.
I just want to unload the theme core CSS file from header and load it in the footer. If I add function to do so in the theme functions file. Will the CSS file minified by w3 cache will include that or theme Core CSS?
I mean will the minified version will have theme core style or not? If it will have then the whole file will load in header or footer?
I hope, I have explained my query.
- The topic ‘Critical CSS’ is closed to new replies.