Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Jeremy Herve

    (@jeherve)

    Jetpack Mechanic ??

    Publicize itself actually doesn’t add any elements to your site’s frontend, so you can keep using Publicize without any issues.

    The Sharing module, however, will indeed add some elements to your site as soon as you add sharing buttons to the bottom of your posts. Whether it’s with Jetpack or any other plugin, as soon as you add third-party services to your posts or to your sidebar each one of these services will have to make outgoing calls and that will have an impact on your site.

    The 2 links you referred to are used to update the counters next to the sharing buttons appearing at the bottom of your posts:
    https://i.wpne.ws/TDUd
    To solve the issue, you can just remove the buttons or deactivate the sharing module altogether by following the instructions here.

    Another solution, and if the buttons are important to you, would be to accept the performance impact and focus on another element of the Pagespeed insights. Here are some examples of things you could work on:

    • Use a CDN to offload some of your content to external services that have better loading times than your own server: https://codex.www.ads-software.com/WordPress_Optimization/Offloading#Commercial_Services
    • Remove extra plugins that add resources to your site. As an example, you’re using a Contact Form plugin, when Jetpack already includes its own Contact Form module. You also use a plugin to display the admin bar to all your visitors. This admin bar includes different javascript and CSS files that have an impact on your site’s performance.
    • Use a caching plugin like W3 Total Cache or WP Super Cache.
    • Use web-safe fonts in your theme instead of using Google Fonts, thus saving extra calls to the Google Font servers
    • etc

    I hope this helps.

    Thread Starter craftersuniversity

    (@craftersuniversity)

    I am using Super chache already and wp minify. Not that it seems to matter to pagespeed insight though.

    The reason i’m not using jetpacks contact form is because i have not found any captcha solution for that one, do you know of any? Also, i have seen that my site tries to reach Google fonts, but i have no idea way. As far as i know, i don’t use any special font on my site at all….Any idea what can be causing this?

    I also get a complaint about “Eliminate render-blocking JavaScript and CSS in above-the-fold content”. There is a lot of CSS files that is listed in this section, and i have no idea what to do about them…One of them belongs to Jetpack i believe:
    https://craftersu.com/…k/modules/sharedaddy/sharing.css?ver=2.7

    Other ones belongs to the official Twenty Eleven theme, which seems a bit strange. Surely the official themes should be the optimum ones?
    https://craftersu.com/…wp-content/themes/twentyeleven/style.css
    https://craftersu.com/…oll/themes/twentyeleven.css?ver=20121002

    Plugin Author Jeremy Herve

    (@jeherve)

    Jetpack Mechanic ??

    I am using Super chache already and wp minify. Not that it seems to matter to pagespeed insight though.
    […]
    Other ones belongs to the official Twenty Eleven theme, which seems a bit strange. Surely the official themes should be the optimum ones?

    It’s worth noting that Google Pagespeed Insights only offers recommendations. You can make many changes to your site, but Google will keep offering recommendations. That doesn’t mean that you should absolutely take action and remove all files from your site.
    Even if you fix everything, Google will still recommend that you remove your stylesheet, for example. That doesn’t mean you should ??

    For each recommendation, you’ll need to decide whether the feature behind that resource is more important than the performance hit.

    For example, Twenty Eleven’s stylesheets are needed because they include the basic styles for your site. The only safe way to remove them would be to copy the contents of these files and paste them into your child theme’s stylesheet. And while that will work, you really won’t win a lot by doing so.

    The reason i’m not using jetpacks contact form is because i have not found any captcha solution for that one, do you know of any?

    If you use the Akismet plugin on your site, all forms submitted through a Jetpack contact form will go through Akismet to be filtered for Spam. So you won’t need your captcha plugin either.

    Also, i have seen that my site tries to reach Google fonts, but i have no idea way. As far as i know, i don’t use any special font on my site at all….Any idea what can be causing this?

    The fonts are mostly likely added by Twenty Eleven. You can remove them by deregistering the function adding the fonts in your child theme’s functions.php file.

    There is a lot of CSS files that is listed in this section, and i have no idea what to do about them…One of them belongs to Jetpack i believe:
    https://craftersu.com/…k/modules/sharedaddy/sharing.css?ver=2.7

    That particular file is need for Jetpack’s sharing buttons to look the way they look right now. If you were to remove it, your sharing buttons would look like that:
    https://i.wpne.ws/TEe2

    You’ll consequently need to decide whether the sharing buttons are important enough for you to justify the performance hit. If they’re not, you can remove them by deactivating the sharing module.

    Thread Starter craftersuniversity

    (@craftersuniversity)

    I found a much better plugin then wp minify, called autoptimize. I enabled “Optimize JavaScript Code?”, “Add try-catch wrapping?”, “Optimize CSS Code?” and deleted admin-bar.min.css” from “Exclude CSS from autoptimize:”. Google page speed finally gives a reasonable rating for mobile phones, and my rating for desktops are well in the green, as good or even better then Wikipedia’s rating last time i checked! ??

    The problem with Leverage browser caching became much smaller, all the Facebook calls disappeared. Also it reduced the “Eliminate render-blocking JavaScript and CSS in above-the-fold content” problem i had, and reduced the number of problems from more then 20, to a mere 4! These four seems to be part of the WordPress installment itself ( wp_include ) and the Google font problem.

    The Google font problem did not come from my theme however, when i made a file content search on my server files, the string “https://fonts.googleapis.com/” popped up in:
    \wp-includes\script-loader.php
    \wp-includes\js\tinymce\themes\advanced\skins\wp_theme\dialog.css

    And finally in the Jetpack plugin folder:
    \wp-content\plugins\jetpack\modules\minileven\theme\pub\minileven\functions.php

    So it seems that Jetpack also uses Google fonts, but since the basic WordPress installation also uses it, i don’t feel that it is worth the trouble to remove it.

    Plugin Author Jeremy Herve

    (@jeherve)

    Jetpack Mechanic ??

    Jetpack’s Mobile Theme does indeed use fonts, but they’re only loaded in the Mobile Theme.

    WordPress also uses Google Fonts, but they’re usually only loaded in the dashboard.They might have been loaded on the frontend of your site since you added a part of the dashboard (the admin bar) to your home page.

    Thread Starter craftersuniversity

    (@craftersuniversity)

    Ok, well the problem is not big enough for it to be worth the time to fix it i think, so ill just leave it alone.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Publizes causes poor pagespeed rating’ is closed to new replies.