• Hi Guys

    This is a minor site performance suggested code tweak – currently when installed the Rublon plugin loads two assets on every page of the site –

    /rublon/assets/css/rublon2factor_frontend.css
    /rublon/assets/js/rublon-wordpress.js?ver=2.1.8

    Whilst the CSS and the js are small packages it would be much better if at the very least the js only loaded on the urls where the user logins in or registers.

    It is a minor thing, but it would make developers who are always striving to make their sites load faster a lot happier to see the Rublon js not load on their home page or any page which does not have a login function on it.

    Great work – thanks – Steve

    https://www.ads-software.com/plugins/rublon/

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

    (@rublon)

    Hi Steve

    Thank you very much for this suggestion. We will fix this with the next version.

    All the best
    Rublon Team

    Thread Starter Steve Truman

    (@a3rev)

    Thanks Guys

    In my post as well as the Rublon css and js I forgot to mention the Rublon the consumer code asset as well

    code.rublon.com/native/consumer_script_2factor

    But I am sure you would have worked that out.

    Looking forward to this Performance Tweak – Thank you – Steve

    Plugin Author Rublon

    (@rublon)

    Hey Steve

    Thanks. We will release a fix next week.

    All the best
    Rublon Team

    Plugin Author Rublon

    (@rublon)

    Hey Steve

    We have now published a new version of the plugin with your suggestions. Please take a look at it and let us know if you need anything else.

    All the best
    Rublon Team

    Thread Starter Steve Truman

    (@a3rev)

    Hi Guys

    Have checked what you have done – nice work. Will change the status of the ticket to resolved.

    Thank you – Steve

    Those two little files are still loaded on every page for me on WP 4.1.1 with Rublon 2.1.20. Do I perhaps need to change a setting or dequeue these files manually? In the latter case, how to enqueue them conditionally on the wp-login.php page?

    Thanks,

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Feature Suggestion – Asset Load’ is closed to new replies.