Speed test issue

Hi,

New site is up and looking great Beaver was very easy to build with. Just one little niggle we need to get rid of.

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.

Screen shot

Any way to serve what ever that is calling locally?

Hey Garymchu,

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. :slight_smile:

Ben

Nothing to hide we are very proud of the speeds we achieve with wordpress for our clients hehe

http://tools.pingdom.com/fpt/#!/d9c6SH/3001web.com

Click recommendations tab and look for the only thing we score zero on.

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:

http://3001web.com/wp-content/plugins/bb-plugin/fonts/fontawesome-webfont.woff2?v=4.5.0

Hey Garymchu,

Thanks! I’ve already assigned someone from our team who can assist you with your concerns. :slight_smile:

Ben

Hey Garymchu,

Thanks for the detailed info.

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.

Unfortunately, we can’t do anything about this either as that file is the core WordPress Dashicons CSS library located at http://3001web.com/wp-includes/css/dashicons.min.css.

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.

Let me know if you have any questions about that.

Thanks,
Justin

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.

Hey Garymchu,

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.

I hope that helps!

Justin

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.

http://tools.pingdom.com/fpt/#!/cYPr9E/3001web.com Beaver built 87/100

http://tools.pingdom.com/fpt/#!/ehNP7s/http://discountkids.co.uk Theme forest theme only Google issues which we can not fix but still 99/100

Ok now this is interesting. I disable the bb plugin and yes page formatting is messed up but check out the performance grade

http://tools.pingdom.com/fpt/#!/dLOI4b/3001web.com

so it looks like this is indeed related to your plugin.

Hey Garymchu,

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.

Justin

BOOM

http://tools.pingdom.com/fpt/#!/c599FN/3001web.com

You learn something every day NO mixing icons

Awesome! I’m glad to see that it’s sorted.

Justin