Title: Minify HTML not working
Last modified: May 7, 2018

---

# Minify HTML not working

 *  Resolved [cybmeta](https://wordpress.org/support/users/cybmeta/)
 * (@cybmeta)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/minify-html-not-working-2/)
 * Hi!!
 * I’m trying to minify HTML but it is not working on main domain, while same configuration
   is working in a subdomain. I can not find what is happening.

Viewing 15 replies - 1 through 15 (of 19 total)

1 [2](https://wordpress.org/support/topic/minify-html-not-working-2/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/minify-html-not-working-2/page/2/?output_format=md)

 *  Thread Starter [cybmeta](https://wordpress.org/support/users/cybmeta/)
 * (@cybmeta)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/minify-html-not-working-2/#post-10254548)
 * I’ve found another thread talking about this and the issue was anohter minification
   plugin previously active; I had Autoptimize, now it is totally deleted.
 *  Plugin Support [LiteSpeed Lisa](https://wordpress.org/support/users/lclarke/)
 * (@lclarke)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/minify-html-not-working-2/#post-10254650)
 * Ah! So, does that mean it’s working now?
 *  Thread Starter [cybmeta](https://wordpress.org/support/users/cybmeta/)
 * (@cybmeta)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/minify-html-not-working-2/#post-10254782)
 * Sorry, it is not working. I was using Autopmize, then switch to LiteSpeed and
   minifying is not working, even with Autoptimize completely deleted.
 *  Plugin Support [LiteSpeed Lisa](https://wordpress.org/support/users/lclarke/)
 * (@lclarke)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/minify-html-not-working-2/#post-10254875)
 * Understood.
 * Can you share your report number? (Navigate to **LiteSpeed Cache > Report**, 
   press the **Send to LiteSpeed** button, let us know what “Report Number” says.)
 * It’s possible elements of Autoptimize still remain, and we may be able to see
   them in the report.
 * Thanks!
 *  Thread Starter [cybmeta](https://wordpress.org/support/users/cybmeta/)
 * (@cybmeta)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/minify-html-not-working-2/#post-10254926)
 * Done!!
 *  Thread Starter [cybmeta](https://wordpress.org/support/users/cybmeta/)
 * (@cybmeta)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/minify-html-not-working-2/#post-10254937)
 * The report number is MWYIYQPI
 *  Plugin Support [LiteSpeed Lisa](https://wordpress.org/support/users/lclarke/)
 * (@lclarke)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/minify-html-not-working-2/#post-10255662)
 * Thanks for the report number.
 * I don’t see any remnants of Autoptimize there, so maybe it’s something else. 
   One of the tech support team will have to take a look. We’ll get back to you 
   soon!
 *  Thread Starter [cybmeta](https://wordpress.org/support/users/cybmeta/)
 * (@cybmeta)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/minify-html-not-working-2/#post-10255750)
 * Thanks for the update, I’ll be waiting.
 *  Plugin Support [Cold Egg](https://wordpress.org/support/users/eric780217/)
 * (@eric780217)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/minify-html-not-working-2/#post-10255831)
 * Hi Cybmeta,
 * Generally you could find `<!-- X-LiteSpeed` from source page. But I can’t find
   any similar tags from your page.
    In case it’s not cached by CloudFlare. Could
   you try add your IP and domain to your hosts? Clear LiteSpeed cache all. And 
   verify if optimize works.
 * We can diagnosis further if issue still.
 *  Thread Starter [cybmeta](https://wordpress.org/support/users/cybmeta/)
 * (@cybmeta)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/minify-html-not-working-2/#post-10255912)
 * It is not related with CloudFlare, I tried before asking. Anyway, CloudFlare 
   cache has been deactivated until this problem is fixed, so you can check it.
 *  Thread Starter [cybmeta](https://wordpress.org/support/users/cybmeta/)
 * (@cybmeta)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/minify-html-not-working-2/#post-10255973)
 * Maybe it worth to mention: if you check the subdomain “sandbox.thedomain.com”,
   there LiteSpeed optimization is working, but not in the root domain. Both, root
   domain and subdomain, are almost a clone. It is really strange.
    -  This reply was modified 8 years, 3 months ago by [cybmeta](https://wordpress.org/support/users/cybmeta/).
 *  Plugin Support [qtwrk](https://wordpress.org/support/users/qtwrk/)
 * (@qtwrk)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/minify-html-not-working-2/#post-10256185)
 * Hi,
 * You said almost a clone , so is there any different ?
 * Could you please turn on debug log ?
 * [https://www.litespeedtech.com/support/wiki/doku.php/litespeed_wiki:cache:lscwp:configuration:debug](https://www.litespeedtech.com/support/wiki/doku.php/litespeed_wiki:cache:lscwp:configuration:debug)
 * From there we could probably spot what went wrong.
 * Best regards,
 *  Thread Starter [cybmeta](https://wordpress.org/support/users/cybmeta/)
 * (@cybmeta)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/minify-html-not-working-2/#post-10256952)
 * I’ve found these lines in the debug.log for a frontend request made as guest 
   user, not sure if they are related with the problem, but it seems so:
 *     ```
       05/08/18 08:38:22.866 [***.***.**.***:13311 1 fMX] [Core] CHK html bypass: doing cron
       05/08/18 08:38:22.866 [***.***.**.***:13311 1 fMX] [Media] bypass: Not frontend HTML type
       05/08/18 08:38:22.866 [***.***.**.***:13311 1 fMX] GUI bypassed by no counter
       05/08/18 08:38:22.866 [***.***.**.***:13311 1 fMX] [Optm] bypass: Not frontend HTML type
       ```
   
 * The message about “doing cron” It is reallly unexpected as I have WP_CRON disabled;
   it is trigered by a system cron and performed by [https://es.wordpress.org/plugins/wp-cron-control/](https://es.wordpress.org/plugins/wp-cron-control/)(
   I did this because when HTML cache is enable, wp-cron is not executed often enough).
   The “Not frontend HTML type” …. not sure what to say, it is a HTML page.
 *  Thread Starter [cybmeta](https://wordpress.org/support/users/cybmeta/)
 * (@cybmeta)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/minify-html-not-working-2/#post-10256957)
 * Confirmed; I’ve disabled the plugin [wp-cron crontrol](https://es.wordpress.org/plugins/wp-cron-control/)
   and the optimization works.
 *  Plugin Support [qtwrk](https://wordpress.org/support/users/qtwrk/)
 * (@qtwrk)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/minify-html-not-working-2/#post-10258001)
 * Hi,
 * Glad to know it and thank you for your feedback , we will look into this why 
   and how it causes this issue.
 * I will mark this topic as resolved, please let us know if you have any further
   questions.
 * Best regards,

Viewing 15 replies - 1 through 15 (of 19 total)

1 [2](https://wordpress.org/support/topic/minify-html-not-working-2/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/minify-html-not-working-2/page/2/?output_format=md)

The topic ‘Minify HTML not working’ is closed to new replies.

 * ![](https://ps.w.org/litespeed-cache/assets/icon-256x256.png?rev=2554181)
 * [LiteSpeed Cache](https://wordpress.org/plugins/litespeed-cache/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/litespeed-cache/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/litespeed-cache/)
 * [Active Topics](https://wordpress.org/support/plugin/litespeed-cache/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/litespeed-cache/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/litespeed-cache/reviews/)

 * 19 replies
 * 4 participants
 * Last reply from: [cybmeta](https://wordpress.org/support/users/cybmeta/)
 * Last activity: [8 years, 1 month ago](https://wordpress.org/support/topic/minify-html-not-working-2/page/2/#post-10496517)
 * Status: resolved