• Good day folks,

    We are experiencing some delays loading the website because too many http requests coming from scripts, images and fonts. We tested some plugins claiming to help solving this issue but they broke the site only. We are looking to add code as a simpler way to solve our problem

    We are trying to solve the issue by parts. So far we have learned that you can minimize the number of font requests if you manually add google fonts in wordpress. Is this accurate?

    It seems that we need to visit the Google fonts library and select a font that is for the theme. After that we have to get to the embed code section. We need to copy the embed code under the standard tab and paste it in our theme or child theme’s header.php file right after <head> tag.

    Is that all? Will this make less http font requests?

    Do you have any other ideas on how to minimize the requests of scripts and images also?

    In advance, thank you for your help.

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • One of the best ways that i’ve found is to use Autoptimize and set that to concatinate and minify all CSS and JavaScript files. That sets up cached versions of one file that contains all of the CSS of JS for that page.

    Apart from that you can look at merging icons into sprites and setting up local web font files instead of including them from the Google font library. There’s probably more.

    Just remember that external systems, like Googles recaptcha, that you’re using won’t be included in any minification. Those you’re stuck with what Google (or which ever vendor) decides to force onto you.

    Thread Starter Copiaurbietorbi

    (@copiaurbietorbi)

    Hi Catacaustic,

    Thank you for getting back to us. We tried autooptimize but it broke our site. We contacted the developers and mentioned that we were using wp fastest cache also and they mentioned that it works fine. May be so, but not for us.

    We think that we should probably use one or the other. We are using the wp fastests cache free version because we haven’t found any documentation stating that it would work better using the premium.

    On the other hand, do you know of a plugin that we can try to merge icons into sprites? we were thinking on adding code on the .htaccess file to solve some of these issues and we tried some versions at the beginning of the file, in between and at the end, but either is not the right code or is not the right way or file.

    We will keep in mind what you say about the captcha option we have.

    Thank you for your help.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘make less http requests’ is closed to new replies.