• I like this Plugin, but I care about the performance of my websites.
    Is it really necessary to add over 350kb (10000+ lines of code) of javascript just for the frontend form? Mailpoet puts the largest constraints on the loading times of my website. Please evaluate if you need to use all these libraries for the subcribe form. edit: I can use the php API to build a light weight form.

    This plugin is better than alternatives I used before. I also like the fancy Newsletter-Builder and the php api.

    • This topic was modified 7 years, 2 months ago by tschopo. Reason: Found a solution, but would still like a more lightweight form
Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author MailPoet

    (@mailpoet)

    Hey! With gzip enabled on the server, the JS takes ~51KB

    Can you confirm that you have the gzip library installed?

    Thread Starter tschopo

    (@tschopo)

    If every plugin adds huge libraries (with bad dependency handling), this leads to a bloated slow website.

    I wrote my own form handler (~50 lines of js, with nice display of response messages, ajax, spam protection and error handling). the default form also seems to be buggy? For example it doesn’t detect if subscriber is already subscribed.

    • This reply was modified 7 years, 1 month ago by tschopo.
    Plugin Author MailPoet

    (@mailpoet)

    Yes, we could improve the JS. Agreed. At this stage, we feel that 50kb on gzip is fair enough.

    In regards to this observation:

    >For example it doesn’t detect if subscriber is already subscribed.

    For security and privacy, we don’t display to visitors if a user is already subscribed!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Please consider reducing frontend javascript’ is closed to new replies.