JS Combine creates 2 files instead of 1




Wordpress LScache Plugin: JS Combine creates 2 files instead of 1

Last Updated on: Wed, 15 Apr 2026 00:00:02
Hi, I have a problem, where LiteSpeed is combining my JS scripts into 2 separate minified files, instead of 1 and I cant 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 doesnt work. Regards, Alex Hi, Could you please provide the report number ? You can get it in Toolbox ?> Report. Best regards, Hi @CacheCrawler, I have just sent the report to LiteSpeed. The number is CWOBAUUB. Cheers, Alex 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, dont 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, @CacheCrawler here you go https://paste.ubuntu.com/p/CPkdDgm6vJ/ 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,



LiteCache Rush: Speed comes from using less, not from doing it faster



Reference