
/
RSS Feed
Here’s the shortcut to removing unused Javascript & CSS
Once you test your website with Google’s page speed insights it will tell you to remove them, but here’s the truth, if you’re not a developer, it’s virtually impossible for you to identify and remove them.
Basically, what you’ll have to do is check each and every CSS called on every single page and check how much of it is actually being used and then remove the unused. See? Almost impossible.
Instead, here’s how to avoid the issue:
- Use external CSS files for pages that have the same styling and elements.
- Use inline CSS whenever necessary.
- Avoid using internal CSS.
Alternatively, you can speed up your website by:
- Use fast hosting, like 10Web for WordPress
- Optimize your images
- Configure your caching settings
- Connect a CDN