WordPress.org

Support

Support » Plugins and Hacks » Jetpack by WordPress.com » [Resolved] Jetpack and Google Page Speed Service

[Resolved] Jetpack and Google Page Speed Service

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

    @jeherve

    When you turn Google Pagespeed off, do Jetpack Comments start working again?

    I’m not familiar with this service, but is there an option to exclude parts of your site from being served through the Pagespeed service?

    Just after I have activeted Google PageSpeed, the comments stops working. This service make my site faster.

    https://developers.google.com/speed/pagespeed/

    Plugin Author Jeremy Herve

    @jeherve

    If you cannot customize Google PageSpeed to exclude Jetpack Comments, I’m afraid you will have to deactivate the Comments module in the Jetpack menu.

    The extra caching added by Google PageSpeed doesn’t seem compatible with Jetpack Comments.

    It seans that here is an solution, but… where to put this codes?

    <script>document.write(‘<div>’)</script>
    <span>JETPACK COMMENTS HERE</span>
    <script>document.write(‘</div>’)</script>

    https://developers.google.com/speed/docs/pss/DeferJavaScript

    Plugin Author Jeremy Herve

    @jeherve

    You can edit Jetpack’s plugin code in modules/comments/comments.php to add the pagespeed_no_defer attribute to all Javascript libraries added by Jetpack Comments.

    However, your changes will be overwritten with each plugin update, so you will have to edit the plugin files each time you update the plugin.

    Unfortunately I’m also experiencing problems using the PageSpeed service and the JetPack contact form. I deactivated the JetPack contact form and am using Contact Form7 which seems to work fine with the PageSpeed service.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘[Resolved] Jetpack and Google Page Speed Service’ is closed to new replies.
Skip to toolbar