Title: HTML optimization problem
Last modified: May 6, 2020

---

# HTML optimization problem

 *  Resolved [dnikola](https://wordpress.org/support/users/dnikola/)
 * (@dnikola)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/html-optimization-problem/)
 * Hi there,
 * i have one specific problem with html optimization.
    If i don’t have an image
   on page i add one img in head with this HTML <img src=”[https://site/wp-content/uploads/2020/05/1.jpg&#8221](https://site/wp-content/uploads/2020/05/1.jpg&#8221);
   alt width=”1920″ height=”1280″ style=”display:none” class=”nolazyload”> so viber
   bot can pick it up. and it works fine, but when i turn html optimization i get
   this code <img src=https://site/wp-content/uploads/2020/05/1.jpg alt width=1920
   height=1280 style=display:none class=nolazyload>
 * and it doesn’t work.
 * I googled and I have seen one topic here where you suggest about w3 progressive
   html miniyfication even it is switched off?

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/html-optimization-problem/#post-12794580)
 * indeed, AO without W3 Total Cache installed does not remove the quotes, but the
   HTML minifier in W3TC overrides AO’s even when HTML minification in W3TC is off:-/
 *  Thread Starter [dnikola](https://wordpress.org/support/users/dnikola/)
 * (@dnikola)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/html-optimization-problem/#post-12794607)
 * Hi,
 * thanks for your replay!
 * Any possibility to resolve this problem?
 * Did you tried to reach their support or you this this is 100% problem on their
   side?
 * What do you think to ping them on this topic?
 *  Plugin Author [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/html-optimization-problem/#post-12794664)
 * they are aware and say it’s on their list, but seems it’s not *high* on their
   list …
 * you’ll have to either;
    1. disable HTML optimization OR 2. keep HTML optimization
   but swap W3TC for another page caching plugin (KeyCDN Cache enabler or WP Super
   Cache)

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘HTML optimization problem’ is closed to new replies.

 * ![](https://ps.w.org/autoptimize/assets/icon-256X256.png?rev=2211608)
 * [Autoptimize](https://wordpress.org/plugins/autoptimize/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/autoptimize/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/autoptimize/)
 * [Active Topics](https://wordpress.org/support/plugin/autoptimize/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/autoptimize/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/autoptimize/reviews/)

## Tags

 * [html](https://wordpress.org/support/topic-tag/html/)

 * 3 replies
 * 2 participants
 * Last reply from: [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * Last activity: [6 years, 1 month ago](https://wordpress.org/support/topic/html-optimization-problem/#post-12794664)
 * Status: resolved