Viewing 9 replies - 1 through 9 (of 9 total)
  • Hi,

    Yes. Go to LS Cache Settings –> Page Optimization –> Tuning.

    Regards.

    Plugin Support qtwrk

    (@qtwrk)

    Hi,

    you can try add

    if (strpos($_SERVER['REQUEST_URI'], "my-page") !== false){
    
    define( 'LITESPEED_CONF', true );
    define( 'LITESPEED_CONF__OPTM__HTML_MIN', false );
    }

    into your wp-config.php

    change my-page to your URI , then it will only bypass HTML minify for that page

    Best regards,

    Thread Starter Mushlih Almubarak

    (@mushlih)

    Is there a way to exclude a page from minify HTML?

    Hi
    Sorry, I got the wrong question
    My question is to exclude a class, and not a URL, is that possible?
    Thank you

    Plugin Support qtwrk

    (@qtwrk)

    Hi,

    Sadly no , it’s page URL based function

    Best regards,

    Thread Starter Mushlih Almubarak

    (@mushlih)

    Unfortunately, the HTML minify causes a problem with the social media logos that I put in the footer, and I put the footer all over the page, so it’s impossible to exclude the minify HTML from the whole page.
    Can you solve the problem that occurs with the social media logo in the footer of my site when minify HTML is enabled in your plugin?
    If yes, I will describe the problem and provide a site link

    Plugin Support qtwrk

    (@qtwrk)

    Hi,

    I assume it’s like you use whitespace or something like that , to separate the social icons , and with HTML minify on , the separation is removed and they attached together ?

    Best regards,

    Thread Starter Mushlih Almubarak

    (@mushlih)

    Great and very true! How do you know the problem even though I haven’t told you? and how to fix it?

    Plugin Support qtwrk

    (@qtwrk)

    Hi,

    yes , we received another user with same issue

    this thing is on our to-do debugging , but since HTML minify would probably only reduce little size (usually less than 1KB) , so it’s not exactly on the top priority

    Best regards,

    Thread Starter Mushlih Almubarak

    (@mushlih)

    Thanks, but I’ve tried adding this CSS and it’s working normally again:
    selector div {margin: 0 10px;}

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Exclude minify HTML’ is closed to new replies.