• Resolved Dead Account

    (@xoroshiro)


    Version 1.0.2 is much better. However, unless I check “Disable JShrink minification”, all I get back from my site is:

    ‘<!DOCTYPE html><html lang=en-US><head><meta charset=UTF-8><meta name=viewport content=”width=device-width, initial-scale=1″><link rel=profile href=”https://gmpg.org/xfn/11″><link rel=pingback href=”https://kuiper.zone/xmlrpc.php”><title>kuiper.zone – In the outer reaches of deep (web) space</title>’

    I cannot also use “Defer parsing of JScript” because it breaks my syntax highlighter (WP Code Highlight.js). Otherwise this seems to work.

    Often when changing settings, I find that behaviour seems intermittent. However, I suspect this is due to caching — now there being server side caching, client side and minification caching. I think this may lead non-experienced users to get confused over results when changing settings. Must always clear them all.

    https://www.ads-software.com/plugins/fast-velocity-minify/

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

    (@alignak)

    In regard of the “Defer parsing of JScript” that’s how it is. When you defer javascript to the end of the page load, all inline javascript above will fail, because jQuery is not defined and therefore that “inline javascript” cannot possibly work.

    This works great on sites that don’t require jQuery inlined on the theme or when all javascript runs from an external file, which will then be minified and also deferred to the end.

    In other words, any javascript code in the theme (or added by a plugin) that runs on a specific area (and not from an external file) will never work with the defer javascript option.

    As for the JSrink issue, I am going to have a look and come back to you.
    But it seems your server is not compatible with JSrink somehow.

    What version of PHP and server are you running there?

    Plugin Author Raul P.

    (@alignak)

    Edit: I just checked on the dump you sent me earlier and it works well with or without JSrink, so this is probably a server related problem.

    If you disable the fast cache, does it still happen?

    Also let me add, that since you’re using a cache plugin, php is not executed unless you clear the cache on that plugin.

    If PHP is not executed at least once (when the fast cache is cleared, for example) then the mnification cannot occur.

    But that’s the normal behavior with any script that relies on some logic.
    When you cache the whole page, there’s no logic anymore.

    Plugin Author Raul P.

    (@alignak)

    It seems that under certain PHP 7 configurations JSrink fails. I was able to reproduce the same error, therefore I rolled back the javascript minification to Google Closure API again for better compatibility.

    Try the new 1.0.3 and let me know if it works for you.

    Plugin Author Raul P.

    (@alignak)

    removed the JSrink option, should be fixed.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Version 1.0.2 is better, but still issue with JShrink’ is closed to new replies.