Notice: These forums are now retired and closed. For active support, please Submit a Ticket or visit our official WordPress.org community pages.
Kadence Theme | Kadence Blocks | Starter Templates | WooCommerce Email Designer | Ascend | Virtue | Pinnacle

Reducing size of virtue_icons.ttf, plugins-min.js and virtue.css

Home / Forums / Virtue Theme / Reducing size of virtue_icons.ttf, plugins-min.js and virtue.css

This topic is: Not Resolved
[Not Resolved]
Posted in: Virtue Theme

Tagged: , ,

July 5, 2018 at 5:58 am

Hi,

when running webpagetest and Google Insight, as well as looking at Network tab and throttling speed to 3G I noticed that 3 of the biggest files are:

1. virtue_icons.ttf 128 KB (gzipped 68 KB)
2. plugins-min.js 219 KB (gzipped 59 KB)
3. virtue.css 280 KB (gzipped 283 KB)

I noticed these in Firefox, but here’s a screenshot from Chrome:

Notice the Time to download.

Any chance of reducing these? I do not know myself, so this is more of a problem description than solution:

For example:

1. As for the icons: We really only use maybe 10-20 of these. So actually no need to have all those downloaded: TBH, only way I can think of here is a custom file builder that let’s me pick the fonts I need. Like

2. As for the plugins: I do not know if we really use all the stuff in there. I do not know what kind of plugins this all includes, but 219 KB sounds like a lot. Our web server speaks HTTP/2 (so can reuse connections/requests) instead of bundling all (also unneeded plugins) it might help if the files were selectively chosen.

3. Not sure if the CSS could be reduced by running over a Unused CSS detector, see and I’d guess that there’s still some stuff living in the CSS that’s there for “historical” reasons (which is normal TBH 🙂

  • The forum ‘Virtue Theme’ is closed to new topics and replies.