• Resolved MikkelCrunch

    (@mikkelcrunch)


    Hi,

    usually I do all the ACF Stuff by myself. I love this Plugin. But since Gutenberg the fields can’t be organized any more. They are just positioned to the very bottom of the Page. So I know that I could create GB Boxes with ACF, but it is quite time consuming. My Goal number one is performance in the Frontend. My Question: How do you realize such Sliders, Accordions or progress Bars for example. Do you use JQuery and a lot of JQuery Modules/Plugins? How heavy is the CSS load in the Frontend? Do you use Backward Compatibility – kind of “CSS Grid” for example? What about responsive?

    Thanks for your answer in advance.
    Best, Mikkel

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor Munir Kamal

    (@munirkamal)

    Hi,

    Thank you for raising these questions. Yes JS code has been used for different modules where needed. However, we made sure to load those JS on pages where that module is being used.

    So Not all the JS has been enqueued by default. If on a page you add slider module it’s JS will be enqueued with that on that particular page. The same is with other modules.

    For the CSS there is one main CSS file that enqueued by default which includes all the needed CSS for all modules. And if a module depends on some extra CSS code (like a slider), that enqueued only when that module is being used (similar to JS).

    Hope that answers your questions. I would suggest you give it a try and pass your feedback to improve it further.

    Thanks

    Thread Starter MikkelCrunch

    (@mikkelcrunch)

    Hi there,

    thank you for your detailed reply. It sounds very positive that the necessary scripts are only loaded when they are needed. I will try it out and report! I prefer not to use dependencies for my websites. Example: JQuery. I mainly try to use “Vanilla” Javascript. But I think you’re using JQuery here, right? I don’t find it bad per se. Think it is necessary due to the abundance of options?

    Thanks again for your answer!
    Best regards
    Mikkel

    Plugin Contributor Munir Kamal

    (@munirkamal)

    Hi @mikkelcrunch,

    Yes, JQuery libraries are used in the module(s) where needed. But as I explained, it is optimized to put as less impact on website performance as possible.

    And if you see something should be improved, please do suggest that and I will surely look into this.

    Marking this ticket as resolved for now. Feel free to reopen it if you need to, or create a new ticket for anything else. ??

    Thanks,
    Munir

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Pre Install Question’ is closed to new replies.