• Resolved lochanraj

    (@lochanraj)


    Till now litespeed has been lifesaver for me, everything is so easy. i am really excited with new added CSS/JS minify feature but i wanted to know what would be the best settings to use with cloudflare minfy options(rocketloader)

    i am bit confused with several options like should i enable minify and combine together or only minify.
    is there any tutorial that will help?

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

Viewing 9 replies - 1 through 9 (of 9 total)
  • On our websites, I did the following:

    • Activated minification and Rocket Loader in Cloudflare.
    • Activated CSS/JS push from LiteSpeed Cache plugin in WordPress.
    • For the combine CSS/JS option, you have to test with your theme but I don’t think it’s really recommended because you have Cloudflare’s HTTP/2 running with Server Push…

    Anyway, I wouldn’t recommend to enable both minification options from Cloudflare and LiteSpeed Cache. Choose either one of them but not both or it’s gonna break your website. Consider it as a best practice.

    it’s a tradition issue when using cloudflare “Auto Minify”. Using CL Auto Minify or using a WP plugin, choose one only. Unfortunately, this is not mentioned beforehand anywhere so always to have some sites break.

    I know, learning from experience huh?

    Plugin Support LiteSpeed Lisa

    (@lclarke)

    Hi @lochanraj

    @yoav1987 really hit the nail on the head when he said you need to test it with your theme. There’s no one-size-fits-all way to set it up.

    That said, it is also true that you only need to enable minification in one place. Which minification you use is up to you, but it would be redundant to use both.

    I’m sorry I can’t give you more specific setup instructions, but @yoav1987 gave you a good place to start. Also, here’s a link to our wiki, which doesn’t really address your question, but it might give you some further insight.

    We’ll be exploring this topic a bit more in-depth in a future issue of WordPress Wednesday. Thanks to your question, I’ll see if I can include some discussion of setting it up with CloudFlare.

    Lisa @ LiteSpeed

    • This reply was modified 7 years, 2 months ago by LiteSpeed Lisa. Reason: fixed a typo

    @lclarke Thank you ?? The last update is awesome.

    Plugin Support LiteSpeed Lisa

    (@lclarke)

    @yoav1987 So glad you’re enjoying it!

    Thread Starter lochanraj

    (@lochanraj)

    @yoav1987 @lclarke @longnha

    thnks for reply… i did exactly what you all suggested and it is all good now! i am using elegant’s extra theme, it is a great theme(style,seo) but not speed wise. Can you guys suggest any more ways to optimize it..any plugins. i am using cloudflare minify options

    I hope I will not be banned if I will ask Cloudflare related question here… ??

    What URL’s should I use in LiteSpeed settings in relation to Cloudflare CDN?
    Screenshot: https://prntscr.com/gns7zd

    Don’t use anything, ignore that if you use Cloudflare, Cloudflare is not really a CDN but does have some CDN features.

    Anyway, create your own thread would be better.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘CSS/JS minfy + cloudflare minify’ is closed to new replies.