Wordpress LScache Plugin: Compress and merge files on the checkout page?
Last Updated on: Wed, 15 Apr 2026 00:00:02 Im very happy using lscahe to hide my actual file path. It would be nice if I could hide on the cart and checkout pages. Thank you, have a nice day! This topic was modified 1 year, 2 months ago by minhduc. Hi, people can always find out the actual file path if they want to , I guess the reason for that is since checkout page will not be cached, each time access it with optimization process run through will be time-consuming and resources-consuming Best regards, ok thanks man Ive bothered you already, Ive reopened the ticket. I have done a lot of my work on LScache, everything is great, my speed score has increased significantly. Can you add a hidden function to enable using css, js file compression on cart, checkout, account pages like Autoptimize plugin? By default Autoptimize also works on your store shopping cart/checkout, uncheck dont optimize them. suggest not to but a quick workaround , go to Cache -> force private cache -> force cache URI add /checkout/ 1 /cart/ 1 this will force it to be cached for 1 second , which is literally same as no-cache , and bypass the no-cache check for optimization @CacheCrawler Thank you for your quick response. I mean those pages will be compressed with css, js files like this https://imgur.com/D61Ft3D @CacheCrawler Thank you for your quick response. I mean those pages will be compressed with css, js files like this https://imgur.com/D61Ft3D yes, with that workaround , it should make it work @CacheCrawler Wow amazing, awesome, works perfectly man. Thanks expert. I have last question, how to make js files excluded from aggregating and defer will still be minified I like how LScache changing name when compressing creates a different url extension well , unfortunately you cant , the combine and minify are using same exclude list so if you exclude it from being combined , it will also be excluded from being minified though nowadays I think most of JS files are come with pre-minified already @CacheCrawler It would be great if there were more features like this. I think it will be faster when the files are browsed in the same directory instead of the js files that are not merged which will have a different download directory. And the important thing is that when the file is detached they will know my child-theme root directory. I like LScaches file renaming feature, because it hides the child-themes root directory Im also trying to use litespeed_qs_forbidden so they cant see it @CacheCrawler I didnt see you, man. I focus on optimizing the fron-end, thanks to lscache and your hooks, I have customized a lot and succeeded in optimizing the sales website with the green google score on the phone. Would you mind, suggesting to minify the excluded files. Thank you, have a nice day
LiteCache Rush: Speed comes from using less, not from doing it faster
Reference