• Resolved skalyx

    (@skalyx)


    Dear LiteSpeed,

    I have recently switched from WPRocket, where I did not have any problem.

    Sadly, I noticed the following when I activate “JS Combine” in LiteSpeed:
    – When logged in as admin, I cannot load my website (infinite loading). I need to use incognito to access my website’s homepage. (I do not have problem to access wp-admin)
    – I cannot access my products like https://store.kidan.ch/product/athena-asedrive-iiie-combo-bio-f2/

    I tried How to Fix Problems Caused by CSS/JS Optimization., but it is too technical for me

    Also, I noticed all my images are way blurrier than WPRocket which is weird to me… Is it normal?

    Lastly, I cannot activate “Load Google Fonts Asynchronously” as the fonts do not look the same afterward. It looks like it changes all my fonts to Time New Roman.

    Please kindly note I am using Cloudflare Free as my CDN with RocketLoader and with AutoMinify deactivated.

    Please help me.
    Thanks,

    • This topic was modified 4 years, 7 months ago by skalyx.
    • This topic was modified 4 years, 7 months ago by skalyx.

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

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Support qtwrk

    (@qtwrk)

    Hi,

    It’s not exactly too technical , you just need to open a developer tool to get the JS files name and put into excluding box.

    Please check this wiki might be more clear for you.

    I am not exactly sure what do you mean by “blurrier” , did you perform image optimization or enable low quality image preview ?

    Could you please check in dev tool and check fonts’ related request ?

    I would also suggest you to disable CloudFlare proxy for the time being , or set it to dev mode during debug process in order to rule out any inferetering may caused by CF features.

    Best regards,

    Thread Starter skalyx

    (@skalyx)

    Dear Qtwrk,

    Thanks for your help!

    I still get the problems despite putting all the “JS” from the inspect tool in the “JS Excludes”. I have inserted one by one as, and altogether and do not get any change…

    However, I notice that I get the following errors when JS Combines is activated:
    Uncaught ReferenceError: jQuery is not defined
    at 4d73e.js:1
    notes-common-v2.js:32 Uncaught ReferenceError: Backbone is not defined
    at notes-common-v2.js:32
    at notes-common-v2.js:158
    admin-bar-v2.js:2 Uncaught ReferenceError: _ is not defined
    at admin-bar-v2.js:2
    ed602.js:33 Uncaught SyntaxError: Invalid or unexpected token
    Uncaught TypeError: $(…).countrySelect is not a function
    at Object.success (data:text/javascript;base64, KGZ1bmN0aW9uKCQpeyQoZnVuY3Rpb24oKXtqUXVlcnkuYWpheCh7dXJsOiIvL2ZyZWVnZW9pcC5saXZlL2pzb24vIix0eXBlOiJQT1NUIixkYXRhVHlwZToianNvbnAiLHN1Y2Nlc3M6ZnVuY3Rpb24obG9jYXRpb24peyQoIi53cGNmNy1jb3VudHJ5dGV4dCIpLmNvdW50cnlTZWxlY3Qoe2RlZmF1bHRDb3VudHJ5OmxvY2F0aW9uLmNvdW50cnlfY29kZS50b0xvd2VyQ2FzZSgpLH0pOyQoIi53cGNmNy1waG9uZXRleHQiKS5pbnRsVGVsSW5wdXQoe2F1dG9IaWRlRGlhbENvZGU6ZmFsc2UsYXV0b1BsYWNlaG9sZGVyOiJvZmYiLG5hdGlvbmFsTW9kZTpmYWxzZSxzZXBhcmF0ZURpYWxDb2RlOmZhbHNlLGhpZGRlbklucHV0OiJmdWxsX251bWJlciIsaW5pdGlhbENvdW50cnk6bG9jYXRpb24uY291bnRyeV9jb2RlLnRvTG93ZXJDYXNlKCksfSk7fX0pfSk7fSkoalF1ZXJ5KTs=:1)
    at i (jquery.min.js:2)
    at Object.fireWith [as resolveWith] (jquery.min.js:2)
    at y (jquery.min.js:4)
    at HTMLScriptElement.b.onload.b.onreadystatechange (jquery.min.js:4)

    Do you have any suggestions? Here are my entries for JS Excludes before purging all:
    /ajax/libs/jquery/1.12.4/jquery.min.js
    /recaptcha/api.js
    /wp-content/js/mustache.js
    /wp-content/mu-plugins/notes/notes-common-v2.js
    /wp-content/mu-plugins/notes/admin-bar-v2.js
    /notifications/build.min.js
    /recaptcha/releases/wk6lx42JIeYmEAQSHndnyT8Q/recaptcha__en.js
    /js/bg/7iFZpQ2wHiLpLHJx_AnFvw2ibJE28EndkJ5aFSEH8HI.js
    text/javascript
    /wp-content/litespeed/
    /w.js

    I could fix the fonts issue which was caused by Slider Revolution. I needed to change it.

    And the images just got normal after I deactivated and reactivated the LiteSpeed plugin, weird…

    Best regards,
    Dani

    Plugin Support qtwrk

    (@qtwrk)

    Hi,

    Try this way

    put

    wp-content
    wp-includes

    into JS exclude

    purge all , and see how it goes

    Best regards,

    Thread Starter skalyx

    (@skalyx)

    Hello,

    Thanks for your prompt reply.

    It works!!! Wp-content is the culprit. Wp-includes does not do anything.
    Do you have any idea how to dig dipper?

    Thank you!

    Plugin Support qtwrk

    (@qtwrk)

    Hi,

    Great , that means we are right in the track.

    Now , please do this

    remove

    wp-content

    put

    wp-content/plugins
    wp-content/themes

    purge all and see how it goes.

    if this still works , that means the culprit is inside one of these 2 directories

    now remove one of them , and see how it goes.

    and repeat above steps by place more accurate path step by step

    you can narrow down to exact file path.

    Best regards,

    Thread Starter skalyx

    (@skalyx)

    Hello,

    I found the two culprits which were:
    wp-content/plugins/google-analytics-for-wordpress
    wp-content/plugins/woocommerce

    It works now, thanks! However, it seems like my GTmetrix tests show that I have 70 requests in place of 40-42 before.

    I tried to remove “wp-content/plugins/woocommerce” and put:
    wp-content/plugins/woocommerce/assets
    wp-content/plugins/woocommerce/i18n
    wp-content/plugins/woocommerce/includes
    wp-content/plugins/woocommerce/packages
    wp-content/plugins/woocommerce/sample-data
    wp-content/plugins/woocommerce/src
    wp-content/plugins/woocommerce/templates
    wp-content/plugins/woocommerce/vendor

    These are ALL the folders I have inside wp-content/plugins/woocommerce. However, the problems still appears. Is it normal?

    Is there a way to lower my requests/combine them?

    PS: Do you have any why PageSpeed from Google for testing website states as a recommendation:
    “Remove unused CSS” for
    /wp-content/litespeed/cssjs/2d290.css
    https://www.gstatic.com/recaptcha/releases/wk6lx42JIeYmEAQSHndnyT8Q/styles__ltr.css
    Is there anything I can do about it?

    Thanks,

    Plugin Support qtwrk

    (@qtwrk)

    Hi,

    OK , now please keep the same steps to narrow down , ideally you should only exclude that specific file name , instead of whole directory that may contains multiple files.

    remove unused css, we are still working on improve this part.

    Best regards,

    Thread Starter skalyx

    (@skalyx)

    Thank you!
    All good, now.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘JS Combine breaks my Website & Blurry website’ is closed to new replies.