• Resolved zuoothomas

    (@zuoothomas)


    Hey,

    I’ve been using your plugin on all our sites and it is by far the best out there in terms of pagespeed, using it together with cache enabler.

    But now all of a sudden i found out that on this site i don’t see any merging happening.

    When i inspect it i see A LOT of script tags but not anything merged. Could you check to see what’s wrong with it? I don’t have any other minification plugin turned on.

    Thanks in advance!

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Raul P.

    (@alignak)

    Are you using some cache plugin?
    Try to disable it and see if it works.

    Is your theme modified and are scripts manually added in the header, or do they use the enqueue system on wordpress?

    Thread Starter zuoothomas

    (@zuoothomas)

    Yeah it seems like there are quite a few scripts loaded manually and not via the enqueuing. Just cache enabler but that plugin is compatible with FVM right?

    Guess that’s just what it is then.

    I do have another question:
    In the FAQ it states that when you notice multiple header or footer files being created i should put the files in those footer files on the ignore list. (Whenever you see a duplicate). Is this correct. I think it would mean putting around 20 js files in the ignore list. Doesn’t really feel like that is going to help haha.

    Let me know!

    • This reply was modified 5 years ago by zuoothomas.
    • This reply was modified 5 years ago by zuoothomas.
    Plugin Author Raul P.

    (@alignak)

    Yeah it seems like there are quite a few scripts loaded manually and not via the enqueuing. Just cache enabler but that plugin is compatible with FVM right?

    Cache enabler is not a script, so it’s not loaded manually.
    If you have scripts manually added to your header.php or footer.php without usinging the enqueue system on wordpress, my plugin won’t detect them.

    In the FAQ it states that when you notice multiple header or footer files being created i should put the files in those footer files on the ignore list. (Whenever you see a duplicate). Is this correct. I think it would mean putting around 20 js files in the ignore list. Doesn’t really feel like that is going to help haha.

    That’s not what it says.
    What it says is that when you notice that FVM is creating multiple CSS or multiple JS files in the header, or footer (per section) it may be because your scripts order includes external domains.

    When FVM starts merging css or js files, it stops when it finds an external domain.
    You can force merging, if you add the domain to the plugin, not on the ignore list but rather on the appropriate section to merge them together.

    You still need to see if it’s possible to merge it or not… you cannot merge stuff like facebook widgets, ads, etc.

    If you have 30 enqueued files, and you have a google map js file halfway, it’s going to break the series. You cannot force merging it, but you can add it to the ignore list.
    By doing that, the google map file would be moved to the end and therefore, the series wouldn’t break anymore.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Plugin seems not to work on this site of mine’ is closed to new replies.