• Resolved ramon fincken

    (@ramon-fincken)


    about 44 JS includes in the network tab, mostly in the wp-includes folder
    alltough minified that is a LOT of JS files.

    When paytium is disabled they are not loaded anymore, so it appears for some reason paytium is loading all those ..

    How to prevent this? Or at least only at a “paytium” frontend page?

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Contributor davdebcom

    (@davdebcom)

    Hi @ramon-fincken

    First of all: congratulations!

    Paytium doesn’t even have 44 JS files, so I am very curious about this. Do you have a screenshot?

    Kind regards
    David

    Thread Starter ramon fincken

    (@ramon-fincken)

    Thanks David!

    Homepage screenshots:
    paytium_on 62 JS files: https://pasteboard.co/I3SJvQQ.png
    paytium_off 21 JS files: https://pasteboard.co/I3SJKcE.png
    difference = 41 JS files .. that is a lot

    All JS files are from /wp-includes (so not actually from your plugin folder) , but loaded nevertheless ..

    Plugin Contributor davdebcom

    (@davdebcom)

    Did some research. This is very strange, because Paytium actually should only load a few JS files, I believe only these.
    public.js
    parsley.js
    parsley-nl.js

    This might be a conflict with another plugin or something like that. Would you mind emailing me on [email protected] so we can go a bit more in-dept with this? It will probably be worth finding out what the cause is.

    Thread Starter ramon fincken

    (@ramon-fincken)

    File access sent by mail.

    You can enable/disable the plugin with rename of the PHP file in the paytium plugin dir.

    Keep in mind that caching is in order (Varnish+ W3TC page HTML cache), so test the homepage with ?nc=1 (where number 1 = ascending for each test)

    Plugin Contributor davdebcom

    (@davdebcom)

    Hi @ramon-fincken

    Can you confirm this is now solved, I keep getting 59 script at the moment.

    If it is, I’ll explain what happened.

    Kind regards
    David

    Plugin Contributor davdebcom

    (@davdebcom)

    Hi @ramon-fincken

    Thanks again for the information, happy we managed to fix it!

    Kind regards
    David

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘a LOT of JS enqueus in frontend’ is closed to new replies.