Do you think you can share the URL of the site in question along with the speed test tool you’re using? Feel free to use the private reply option below if you want to.
Also check out Remove query strings from static resources
We have a plugin that does that but for some reason it is not doing it for your plugin
Resources with a “?” in the URL are not cached by some proxy caching servers. Remove the query string and encode the parameters into the URL for the following resources:
Also check out Remove query strings from static resources
I looked into this and it appears that the query strings are part of the Font Awesome library in bb-plugin/css/font-awesome.min.css. Unfortunately, we can’t really edit that file since it’s part of a third party library and any changes we make will be overwritten when it’s updated.
Using previous themes we would always get a perfmance grade in the upper 90’s on speed tests this is currently being knocked by a BIG call for a file.
You might consider creating your own custom icon set using IcoMoon or Fontello and using that instead of Font Awesome and WordPress’ Dashicons. That should solve these issues.
It seems to be the font awesome call that is causing the biggest issue. Perhaps you could look at an optional admin functionality in the theme to call fonts locally in the future. Have seen this in a few themes.
Thanks for the suggestion. Font Awesome is being loaded locally though, we’re not using their CDN. We load in their stylesheet and then the stylesheet loads in the necessary font files. I believe the issue is that their stylesheet has query strings in it that can’t be removed by the remove query strings plugin.
Another suggestion would be to load in Font Awesome from your theme and edit the font-awesome.min.css file to remove the query strings. As long as you enqueue it with the slug “font-awesome” it should override our copy.
Will talk to plugin writers I think. To be honest I hate speed tests these sites are very fast compared to most, we have tweaked our servers for WP extensively, but clients obsess over them.
Examples please click the performance tab in these two results. Yes I know the speeds are excellent but clients will see these as issues that want fixing, try telling them otherwise.
Plus there is something in what they say this could cause extra latency which seems silly for a fancy font who ever is including this code needs to make it optional.
Google are only adding fuel to the speed fire with clients and that is not going to go away.
Thanks for the follow up. The reason that the performance grade is better with the plugin disabled is that Font Awesome and WordPress Dashicons aren’t being loaded as those what were originally causing the issue.
You can achieve the same result with the builder active, but you’ll need to rethink your use of icons. Typically we don’t recommend using more than one icon library on the page. Can you try switching your Dashicons to Font Awesome? Give that a shot and let me know how it goes.