Support » Plugin: Modern Events Calendar Lite » Excessive GET requests from MEC

  • Resolved hastibe

    (@hastibe)


    Our VPS website host is saying that excessive GET requests from Modern Events Calendar is causing stability issues for our website. It seems that every time a visitor loads any page on our website (not just our calendar page and events pages), it triggers 11 GET requests for MEC assets (as below).

    What can be done to improve performance, and prevent MEC assets from loading on pages that don’t even have any MEC elements on them?

    "GET /wp-content/plugins/modern-events-calendar-lite/assets/css/frontend.min.css?ver=5.17.6.1616708569 HTTP/1.1"
    "GET /wp-content/plugins/modern-events-calendar-lite/assets/js/events.js?ver=5.17.6.1616708569 HTTP/1.1"
    "GET /wp-content/plugins/modern-events-calendar-lite/assets/js/frontend.js?ver=5.17.6.1616708569 HTTP/1.1"
    "GET /wp-content/plugins/modern-events-calendar-lite/assets/js/jquery.typewatch.js?ver=5.17.6.1616708569 HTTP/1.1"
    "GET /wp-content/plugins/modern-events-calendar-lite/assets/packages/colorbrightness/colorbrightness.min.js?ver=5.17.6.1616708569 HTTP/1.1"
    "GET /wp-content/plugins/modern-events-calendar-lite/assets/packages/featherlight/featherlight.js?ver=5.17.6.1616708569 HTTP/1.1"
    "GET /wp-content/plugins/modern-events-calendar-lite/assets/packages/lity/lity.min.js?ver=5.17.6.1616708569 HTTP/1.1"
    "GET /wp-content/plugins/modern-events-calendar-lite/assets/packages/owl-carousel/owl.carousel.min.js?ver=5.17.6.1616708569 HTTP/1.1"
    "GET /wp-content/plugins/modern-events-calendar-lite/assets/packages/select2/select2.full.min.js?ver=5.17.6.1616708569 HTTP/1.1"
    "GET /wp-content/plugins/modern-events-calendar-lite/assets/packages/select2/select2.min.css?ver=5.17.6.1616708569 HTTP/1.1"
    "GET /wp-content/plugins/modern-events-calendar-lite/assets/packages/tooltip/tooltip.js?ver=5.17.6.1616708569 HTTP/1.1"
Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Webnus

    (@webnus)

    Hello @hastibe,

    This is forwarded to the developer team and it will be checked and fixed for the next updates.

    We will let you know when this topic is resolved.

    Best Regards

    Thread Starter hastibe

    (@hastibe)

    @webnus — thank you! That is really appreciated, and I’ll keep an eye on this thread.

    I will look forward to this update too. MEC Lite is slowing down my site a lot.

    There’s no reason the plugin should be loading assets on a page that doesn’t even include MEC content. Only 2 pages on my site include MEC content (the Events page and a widget on the Home page) and the rest of the site shouldn’t be affected by the plugin.

    In addition to reducing GET requests, as @hastibe mentions, could the update also include a way to load frontend.min.css in the footer? It now loads in the header, and it is render-blocking, even though the Events widget is in the site footer.

    Plugin Author Webnus

    (@webnus)

    Hello @denis24,

    Regarding the CSS file (frontend.min.css) in the footer, because the CSS assets should be loaded in the “head” tag in the doc, they will not load the CSS file in the footer.

    Regarding the optimization and improving the performance, obviously yes. It will be more improved in future updates.

    Best Regards

    Plugin Author Webnus

    (@webnus)

    Hello All,

    Regarding the issue in this topic, please use the latest version of MEC. We’ve provided a solution to manage this issue in the latest version:
    https://webnus.net/modern-events-calendar/change-log/

    Also, please follow the steps explained in this article:
    https://webnus.net/dox/modern-events-calendar/assets-per-page/

    Let us know if you have any other questions

    Best Regards

Viewing 5 replies - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.