• Resolved Alex Kladov

    (@prowebassist)


    Hi,

    I have a problem, where LiteSpeed is combining my JS scripts into 2 separate minified files, instead of 1 and I can’t figure out why.

    I have Max Combined File Size set to 2MB under Tuning Settings. All of my JS files are nowhere near that size. Yet LiteSpeed creates 2 separate JS files: one is 6Kb and one is 23Kb.

    Why is this happening? This is also causing an issue, where it has separated 2 scripts where one is dependent on the other, so now it doesn’t work.

    Regards,
    Alex

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

    (@qtwrk)

    Hi,

    Could you please provide the report number ?

    You can get it in Toolbox —> Report.

    Best regards,

    Thread Starter Alex Kladov

    (@prowebassist)

    Hi @qtwrk,

    I have just sent the report to LiteSpeed. The number is CWOBAUUB.

    Cheers,
    Alex

    Plugin Support qtwrk

    (@qtwrk)

    Hi,

    Could you please go to admin area , left-side bar —> LiteSpeed Cache —> Toolbox —> [6] Debug Settings

    in this page:

    set Debug Log to Admin IP Only

    add your IP into Admin IPs (you will see your IP below.)

    set Debug Level to Advanced

    save changes.

    Now go to [7] Log View, click on admin-bar LiteSpeed Cache —> Purge All

    then click button [D] Clear Log , keep this window open, don’t close it nor navigate away from it.

    Now ,open a new window, access the page where you see 2 JS instead of 1.

    once page is loaded , go back to Log View window and refresh this page, you should see the debug log is showing up.

    Then please copy all the text , paste it into https://paste.ubuntu.com/

    then post the link it generated for you.

    Best regards,

    Thread Starter Alex Kladov

    (@prowebassist)

    Plugin Support qtwrk

    (@qtwrk)

    Hi,

    Apologize for late response.

    If there are JS’ in header and also JS’ in body , even it is not reached max size , it will still split into 2 files.

    Best regards,

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘JS Combine creates 2 files instead of 1’ is closed to new replies.