• Resolved marvec

    (@marvec)


    Hello, I have some performance concerns with this plugin. Can you tell me if I do anything wrong, or if there is an option to optimize its usage? My Google Page speed index drops from 86 to 63 just by enabling the plugin.

    Overall, I love the plugin. It has all the configuration tweaks I need, it has beautiful popups etc. Just the performance…

    1) partial incompatibility with Total Cache plugin – I need to set JS loading to default synchronous otherwise Hustle fails on page load because it does not have access to jQuery. I have the rules to skip optimizing jQuery JS etc but it still does not help.

    2) jQuery is nowadays a bit dated, Hustle is the only thing on our web that needs it. Is there any plan to rewrite to pure JS? That way I could save a lot of JS.

    3) Hustle loads a ton of CSS and fonts that I do not need. Is there a way to switch that off?

    Ideally, I would get a super minified build of Hustle with everything in a single JS and CSS with only things that I need. Is there such an option?

    Thank you very much!

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter marvec

    (@marvec)

    I tried a lot of cache tweaks, but it is completely unusable with the cache. The code supposes synchronous loading of jQuery before the plugin. Plus it loads a ton of font CSS (unable to switch them off).
    With asynchronous JS loading, it does not work:

    hustle-ui.min.js?ver=4.2.0:6 Uncaught ReferenceError: jQuery is not defined
        at hustle-ui.min.js?ver=4.2.0:6
    (anonymous) @ hustle-ui.min.js?ver=4.2.0:6
    front.min.js?ver=4.2.0:1 Uncaught TypeError: Cannot read property 'extend' of undefined
        at front.min.js?ver=4.2.0:1
        at front.min.js?ver=4.2.0:1
        at front.min.js?ver=4.2.0:1

    I really cannot sacrifice our page speed so terribly and harm our SEO. It is such a pity. Such a great plugin and fails on such a silly thing.

    Plugin Support Pawel – WPMU DEV Support

    (@wpmudev-support9)

    Hello @marvec

    I trust you’re doing well!

    1) partial incompatibility with Total Cache plugin

    I’ve tested the Total Cache plugin and set the JS to sync and Hustle was working well. Please export your plugin’s settings and share them with us. You may use pastebin.com and she’s the export file with us so we could have a closer look at this

    2) jQuery is nowadays a bit dated, Hustle is the only thing on our web that needs it. Is there any plan to rewrite to pure JS? That way I could save a lot of JS.

    At the moment, I’m afraid there are no plans to re-write the plugin. Although you may always check our Roadmap to see the upcoming changes.

    3) Hustle loads a ton of CSS and fonts that I do not need. Is there a way to switch that off?

    You can enable Vanilla Theme in the Appearance tab to stop loading Hustle’s CSS. Please note, you will need to style an opt-in with your own CSS. Please see this screenshot:
    https://monosnap.com/file/kAdL11hAfwoyfPTSv6PnJ9RDviGtMw

    Have a good day!

    Cheers,
    Nastia

    Thread Starter marvec

    (@marvec)

    Hello, thank you for your reply.

    sync js loading is not an option. This terribly affects performance.

    I managed to fine tune the cache manually so that it loads in async/defer mode.

    Would you be interested in a blog post on that topic? I also managed to skip font loading through my theme settings. The performance is now excellent.

    It took me 4 hours to just tweak that out, so I think sharing that with your customers/users could be useful to them.

    Regards,
    Martin

    Plugin Support Pawel – WPMU DEV Support

    (@wpmudev-support9)

    Hello @marvec

    I hope you’re doing well!

    Glad to know that you’ve found a solution.

    Please feel free to contact us directly to contact@wpmudev.org for any suggestions.

    I’ve marked this ticket as resolved. If you do have any followup questions or require further assistance feel free to reopen it and let us know here.

    Kind regards,
    Nastia

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Performance concerns’ is closed to new replies.