• I’m 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 3 years, 2 months ago by minhduc.dev.
Viewing 11 replies - 1 through 11 (of 11 total)
  • Plugin Support qtwrk

    (@qtwrk)

    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,

    Thread Starter minhduc.dev

    (@ducpl)

    ok thanks man

    Thread Starter minhduc.dev

    (@ducpl)

    I’ve bothered you already, I’ve 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 don’t optimize them.”

    Plugin Support qtwrk

    (@qtwrk)

    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

    Thread Starter minhduc.dev

    (@ducpl)

    @qtwrk
    Thank you for your quick response.
    I mean those pages will be compressed with css, js files like this ??

    View post on imgur.com

    • This reply was modified 2 years, 9 months ago by minhduc.dev.
    • This reply was modified 2 years, 9 months ago by minhduc.dev.
    Thread Starter minhduc.dev

    (@ducpl)

    @qtwrk
    Thank you for your quick response.
    I mean those pages will be compressed with css, js files like this ??

    View post on imgur.com

    Plugin Support qtwrk

    (@qtwrk)

    yes, with that workaround , it should make it work

    Thread Starter minhduc.dev

    (@ducpl)

    @qtwrk
    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” ??

    Plugin Support qtwrk

    (@qtwrk)

    well , unfortunately you can’t , 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

    Thread Starter minhduc.dev

    (@ducpl)

    @qtwrk
    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 LScache’s file renaming feature, because it hides the child-theme’s root directory”

    I’m also trying to use “litespeed_qs_forbidden” so they can’t see it

    • This reply was modified 2 years, 9 months ago by minhduc.dev.
    Thread Starter minhduc.dev

    (@ducpl)

    @qtwrk I didn’t 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

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Compress and merge files on the checkout page?’ is closed to new replies.