Support » Plugin: LiteSpeed Cache » Page optimisation & 2 plugins conflict

  • Resolved honoluluman

    (@honoluluman)


    Hello,

    I would like to ask for your help about 2 issues that we have on our website.
    After enabling page optimization,

    1. It seems that the plugin WP QUADS – Quick AdSense PRO don’t display the ads correctly on the pages. Ads that are being added via the theme are working properly, but ads that are being added from the plugin it self are not working correct.(see attached link)
    Of course i have tried to exclude the following .js from optimization in the tunning section:

    wp-content/plugins/quick-adsense-reloaded/assets/js/ads.js
    wp-content/plugins/wp-quads-pro/assets/js/ads.js

    but this didn’t solve the problem. If i set /?LSCWP_CTRL=before_optm on the pages i get to see the ads.

    2. The same problem applies with Quotes Collection plugin that makes use of ajax. We are using it only in one page and the shortcode of the plugin doesn’t display output when page optimization is enabled. (We have set [esi quotcoll ajax_refresh=true ttl=”0″] which excludes efficient the plugins output from caching)
    Again the following .js are excluded from optimization in the tunning section:

    /wp-content/plugins/quotes-collection/css/quotes-collection.css
    /wp-content/plugins/quotes-collection/js/quotes-collection.js
    /wp-content/plugins/quotes-collection/blocks/quotes/style.css
    /wp-content/plugins/quotes-collection/blocks/random-quote/style.css

    but this didn’t solve the problem. At the moment the page is not optimized.But we would preffer to have it optimized.

    Could you please give me some help on those problems?

    Thank you very much for your time.

Viewing 4 replies - 1 through 4 (of 4 total)
  • tenkstars

    (@tenkstars)

    Hi,

    1) If you’re still using V3.6.4, I’d encourage you to upgrade your LSCWP plugin to the latest release. Official release is V4.1, and the latest GitHub dev commit is V4.2-rc3.

    2) I would first determine which of the optimization features causes the issue before starting to exclude any css/js.

    3) Since your excludes do not solve the problems, it may not be the minified/combined features that cause the problems. You should try to find the cause by process of elimination. For example, first, turn off all JS features and see if it works; if it does, then enable them one by one until the problem occurs and you’ll know what the cause is. Or if it doesn’t, then you’ll turn off all CSS features and see if it works; if it does, then enable them one by one until the problem occurs and you’ll know what the cause is. Basically, there are three possible scenarios. a) One of the JS features causes the problem; b) One of the CSS features causes the problem; c) A combo of a JS feature and CSS feature causes the problem. I know it sounds time consuming, but it’s the only way to pinpoint on the cause. In any case, I’d first make sure I’m on the latest version of the plugin, as some of the known CSS/JS related issues are fixed.

    Please give it a try and let us know how it goes.

    Regards.

    Thread Starter honoluluman

    (@honoluluman)

    hello @tenkstars

    Thank you very much for your support.

    I have updated to official release V4.1. šŸ™‚

    1. Regarding WP QUADS ā€“ Quick AdSense PRO i found out that the problem is related with some inline javasrcipt. In some pages the script is working normal with async attribute
    <!– WP QUADS – Quick AdSense Reloaded v.2.0.27.4 Content AdSense async –> see. And in some others it gets encoded (data:text/javascript;base64) with defer attribute (search for class=”quads-location quads-ad1″) and i just dont know why.

    I also don’t know how could i exclude this from defer.
    I tried changing many options but it seems that only when i disable Load JS Deferred ads are working normal. Any ideas?

    2. This problem seems to be fixed with the update to the new version.

    Thank you very much for your time.

    Plugin Support qtwrk

    (@qtwrk)

    to exclude inline JS in your case

    please try add

    AdSense
    adsense
    

    in JS exclude list and defer JS exclude list, save and purge all

    Thread Starter honoluluman

    (@honoluluman)

    @qtwrk thank very very much

    This worked !!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Page optimisation & 2 plugins conflict’ is closed to new replies.