• Resolved pamuje

    (@pamuje)


    I would love to use this plugin, but after a few tests on GT Metrix, I get the following Before/After page information:

    Fully loaded 1.9s > 2.4s
    Total page size: 338kb > 738kb
    Requests: 41 > 50

    I have done about a dozen tests activating/deactivating/clearing cache in between, and the activating the plugin really is the only thing that justifies these changes.

    Happy to provide a URL in private message.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Rui Guerreiro

    (@takanakui)

    Hi @pamuje,

    The problem there is the woff2 font that as all the icons that are possible to use in WP Mobile Menu.

    If you use an image on the menu icon I can provide you the code to enqueue the woff2 font.

    I will need to double check if there is a way to reduce that woff2 font by reducing the number of icons.

    Thread Starter pamuje

    (@pamuje)

    I thought that may be the case… Can we dequeue the woff2 font altogether then? Use a SVG as icon? and use the theme’s default font for content?

    Plugin Author Rui Guerreiro

    (@takanakui)

    sure, you just need a plugin that allows you to upload an SVG. It may require additional style, but let me know if necessary.

    Add the code below to the functions.php file of your child theme.

    add_action('wp_footer', function() {
       wp_dequeue_style('cssmobmenu-icons');
    });

    Let me know if it worked.

    Plugin Author Rui Guerreiro

    (@takanakui)

    @pamuje Did you manage to try the code above?

    Plugin Author Rui Guerreiro

    (@takanakui)

    Will close the topic for now.

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Heavy loading at the front’ is closed to new replies.