• Resolved ioannisbakas

    (@ioannisbakas)


    We noticed that there is a lot of unused css and js regarding your plugin and that influences Core Web Vitals. Is there a solution to not have all that?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hello @ioannisbakas – thanks for writing in!

    Regarding your concern, I will need to forward this to our lead developer to provide you further insights. As soon as we get any new piece of information, we will reply to this thread with an update.

    We appreciate your patience regarding this. Thank you!

    Plugin Author Daniel Iser

    (@danieliser)

    We don’t bundle any extra CSS, the CSS we included is:
    1. Base CSS styles for each element in our popups + a handful of extra modifiers to handle overlay visible vs hidden etc. The popups themselves only have a few classes with styling, the sub forms have a few dozen rules at most which are small and quite well organized.

    2. ~5 rules for each popup theme you have. (you can try deleting unused popup themes).

    3. Extensions might bundle extra CSS but only one of them does that ( Advanced Theme Builder ). If so it is only another 1-3 rules per popup theme it was used on.

    Not much room for excess code to be slimmed down in this case.

    Nearly the same breakdown for JS on the front end, we do use jQuery UI position, but otherwise our code has all the required functionality and not a lot of extras.

    That said if your inserting content into the popups that has its own assets, those would also be disabled if you disabled the popups.

    Beyond that I’m not sure how we could help. Your free to check the code yourself: https://github.com/PopupMaker/Popup-Maker/blob/master/assets/sass/site.scss

    Let us know if you spot something unused.

    • This reply was modified 4 years, 11 months ago by Daniel Iser.
Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘CORE WEB VITALS’ is closed to new replies.