• As much as I like this plugin – and I really do think it’s one of the best – it needs better optimization options. I’ve gone through MISC and moved styles and what not – but when using wp-rocket with “remove unused CSS” which gives me a big speed score increase the pop up breaks.

Viewing 1 replies (of 1 total)
  • Plugin Author Daniel Iser

    (@danieliser)

    @dualaudi – Sorry to hear that, but a few things to consider.

    Our CSS/JS is pre-minified and pre-combined into a single .css & .js file that is saved only when you make changes, even when you have all of our extensions installed. We have done this “AssetCache” for many years now. Those files are not very large at that. These assets are also friendly to plugins like WP Rocket, which we also use ourselves.

    Second we run only 2 queries on the front end of your site, no matter how many popups you have. And if you use query/object caching, that goes to 0 queries.

    Lastly 100 empty popups would add no discernable difference to page loads because the popups are nothing but a few divs and a close button.

    However the content you add to the popups can definitely impact load times, but that isn’t something we can do much about on our end, though we do provide tools to minimize their impact already:

    1. Targeting rules can be used to limit which pages each popup appears on. If you have popups with media (images/iframes), and no targeting rules, they will load hidden on every page, even if they aren’t used. This is the default because the bulk of our users initially used the plugin for opening popups/modals from main menu items, thus it needed to “just work” on every page by default.
    2. Some content can be loaded on demand using solutions such as our Remote Content extension, but not all content can be loaded on demand such as form plugins. None of the currently available form plugins would work unless they were preloaded on the page which is how it works now.
    3. Content you add to popups can itself load additional CSS & JS assets.

    Example, if you have 30 popups, with forms/images/iframes in them and none used conditions, then you can see how there would be performance penalties with all that extra content loading on every page.

    There are other things that can have impacts as well, but this covers most cases. Without a link to the page specifically its hard to say for certain.

    Hope that helps, and hope you can reconsider that 5th star. In reality we have optimized our plugin as much as is reasonably feasible as you can see, the way its implemented & the other plugins you use in combination can have undesired effects though if not considering the above possible impacts.

Viewing 1 replies (of 1 total)
  • The topic ‘Needs more speed optimization’ is closed to new replies.