Index Sites
Regular Member
- Mar 27, 2019
- 266
- 125
I've read quite a bit to not worry about google speeds but have also read that when it comes to ranking speed matters so I rather optimize for page speed as best as possibleDon’t bother about goggle gt metrix and pingdom matters a lot, but if you yet are obsessed with google speed then. You can use @kindablack service
Currently trying to figure out how to separate used from unused css nowTry trimming off unused CSS, and also use font-display to increase score to some extent.
This is what I do...Currently trying to figure out how to separate used from unused css now
This should be a great help appreciate it manThis is what I do...
Then, after clicking on coverage...![]()
On this tab, you will be able to see all the elements that are loading on that particular page, what its been used and whats been unused. When clicking on each element, you will see in the window above all the codes mark in reading as the unused part of the coding.![]()
What I am doing is to copy and paste that code into Visual Code Editor and just get rid of it, export the file and re-upload it into the site and keep testing.
Make sure to keep the original file intact just in case.
WP-Rocket is my go-to as for my host it's one from the marketplaceKeep the page lite, have a good host and use a good plugin, I recommend WP Rocket.
You host is slow..
First data transfer itself is taking more than 1 second.
Wait you are telling me the "red" part of coverage is the ununsed css?This is what I do...
Then, after clicking on coverage...![]()
On this tab, you will be able to see all the elements that are loading on that particular page, what its been used and whats been unused. When clicking on each element, you will see in the window above all the codes mark in reading as the unused part of the coding.![]()
What I am doing is to copy and paste that code into Visual Code Editor and just get rid of it, export the file and re-upload it into the site and keep testing.
Make sure to keep the original file intact just in case.
You've been a great helpYeah, I browse the code of a single element on VSC and it had over 50k lines of coding.
Let me give you a couple of recommendations if you´re going to test this yourself.
Hope this helps,
- ALWAYS BACK THE ORIGINAL FILE - I think this is self-explanatory. You WILL want that file back if you break something on your site.
- START AT THE BOTTOM - If you´re going to clean the code, it makes it a shit lot easier to do it starting from the bottom and work your way up. You can do this by following the original coding on your chrome browser.
Cheers!