Support » Plugin: PWA for WP & AMP » Why Enqueue JQuery on the Frontend for a Plugin Like This?

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

    (@magazine3)

    We checked your issue. This is a small bug from our side. We have created a ticket in GitHub about this issue. It will be fixing in our next updates.
    Reference: https://github.com/ahmedkaludi/pwa-for-wp/issues/330

    Thread Starter David Cameron Law

    (@seo-dave)

    I’ll look out for the update.

    I’ve marked as resolved based on you plan to fix it.

    Plugin Author Magazine3

    (@magazine3)

    This issue is fixed in our latest version of plugin(1.7.8). Can you please update the plugin and check whether the issue is having or not.

    Thread Starter David Cameron Law

    (@seo-dave)

    Updated and tested and sadly jQuery is still loading on the front end. I’m 100% certain it’s this plugin.

    When this plugin is activated and I view the minified/cached js file (created by W3 Total Cache) I get this at the top.

    /*! jQuery v1.12.4 | (c) jQuery Foundation | jquery.org/license | WordPress 2019-05-16 */

    When I run Google Lighthouse I see the two usual vulnerability warnings:

    jQuery@1.12.4 2 Medium

    when IQuery is loaded at the front end, so it’s definitely still loading it.

    I’ve deactivated the plugin.

    You can see the home pages Lighthouse report at https://googlechrome.github.io/lighthouse/viewer/?psiurl=https%3A%2F%2Fseo-gold.com%2F&strategy=mobile&category=performance&category=accessibility&category=best-practices&category=seo&category=pwa&utm_source=lh-chrome-ext with your plugin disabled.

    No jQuery loaded at the front end.

    I’ve reactivated the alternative progressive web app plugin, but it throws out a Browser error

    TypeError: Failed to update a ServiceWorker for scope ('https://seo-gold.com/') with script ('https://seo-gold.com/superpwa-sw.js'): An unknown error occurred when fetching the script.

    Which I haven’t been able to fix.

    Your plugin doesn’t give any errors, (and you are in active development) so if you can fix jQuery loading on the front end I’ll be a happy user again.

    Thanks for trying, appreciated.

    Plugin Author Magazine3

    (@magazine3)

    Can you please update the plugin latest version(1.7.8.1) and check once whether having the same issue or not.

    Thread Starter David Cameron Law

    (@seo-dave)

    Awesome soup, you got it.

    That deserves a 5 star review when I have some spare time, always good to see a plugin developer actively supporting their plugin for free users.

    Your plugin is working perfectly again.

    Appreciated.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Why Enqueue JQuery on the Frontend for a Plugin Like This?’ is closed to new replies.