Support » Plugin: Stop User Enumeration » google pagespeed improvements – remove frontend.js

  • Resolved flacoman91

    (@flacoman91)


    Hi,

    Is it possible to remove the enqueue for frontend.js or conditionally load it based on the setting in the admin ?

    I checked the box in the admin to not remove numbers from user profiles, and the js file is still getting loaded on the front end.

    It’s one of the recommendations of the google pagespeed insights tool.
    I am using this plugin on a site that does not use comments or user profiles.

    Thanks!

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

    (@fullworks)

    Hi yes, that is a good idea, if it is turned off, don’t enqueue it.

    Can you email me and I’ll send a revised version for testing? use https://fullworks.net/contact/ ( and tick it is not a support request ) 🙂

    Plugin Author fullworks

    (@fullworks)

    Can you tell me what version you are using, as the most recent version already has that logic to no enqueue when not required.

    I will double check on my test system though.

    Plugin Author fullworks

    (@fullworks)

    Ah it seems the logic is there but not working 🙁 will let you know.

    Thread Starter flacoman91

    (@flacoman91)

    Thanks!

    I am using the latest version of both WP and the plugin Version: 1.3.14.

    No rush, take your time.

    Plugin Author fullworks

    (@fullworks)

    No problem, I have a fix in 1.3.15, will update when I have finished testing

    Alan

    Thread Starter flacoman91

    (@flacoman91)

    Awesome. Tested and it works.

    Thank you. I bumped up my site’s pagespeed score by 3.

    Have a great day!

    • This reply was modified 5 years, 1 month ago by flacoman91.
Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘google pagespeed improvements – remove frontend.js’ is closed to new replies.