How to avoid loading unnecessary icon files
Hi, I am currently working on improving the web core vitals of my website. I am doing the changes on the staging website.
This is the page that I am trying to optimize:
As you can see in the screenshot of the lighthouse's report on this page, There are a lot of unnecessary resources, that I am not using on this page but are still loading in the background.
What can I do to prevent these items from loading. or optimize the loading in some other way?
Comments
Hi,
Are these custom icons? They do not look like icons available in the Betheme package.
If yes, you can simply remove them.
Best regards
Yes, these are custom icons. But If I remove them, I won't be able to use them on those pages where I actually require them.
I want them to load only on pages where they are required, not everywhere.
Unfortunately, there is no option to achieve that.
Best regards