Minify HTML

Minify HTML

توسط

Try it out on a free dummy site here => https://demo.tastewp.com/minify-html-markup

Ever look at the HTML markup of your website and notice how sloppy and amateurish it looks? The Minify HTML plugin cleans up sloppy looking markup and minifies, which also speeds up download time.

Make your website’s markup look professional by using Minify HTML. Easy to use, simply install and activate (with additional options for advanced settings).

Minify HTML also has optional specialized minification for JavaScript and internal CSS. It doesn’t mess with your textareas or preformatted text.

Settings options to removes HTML, CSS and JavaScript comments (leaving MSIE conditional comments), remove unneeded XHTML closing tags from HTML5 void elements and remove unneeded relative schemes and domains from links.

For an automatic installation through WordPress:

  1. Select Add New from the WordPress Plugins menu in the admin area.
  2. Search for Minify HTML.
  3. Click Install Now, then Activate Plugin.

For manual installation via FTP:

  1. Upload the minify-html-markup folder to the /wp-content/plugins/ directory.
  2. Activate the plugin from the Plugins screen in your WordPress admin area.

To upload the plugin through WordPress, instead of FTP:

  1. From the Add New plugins page in your WordPress admin area, select the Upload Plugin button.
  2. Select the minify-html-markup.zip file, click Install Now and Activate Plugin.

سوالات متداول

Are there any settings for Minify HTML?

Yes. Under the Settings menu in the admin console there’s a Minify HTML menu item which allows you to modify Minify HTML settings.

How does it work?

Magic, obviously! Actually, it creates an output buffer and then preforms its ‘magic’ on the output buffer. It kinda is like magic.

Will it break my stuff?

Normally, you won’t notice any changes to the way the site looks in the browser. However, if you rely on white space between HTML tags (which you shouldn’t be doing) you may notice very isolated elements with reduced horizontal spacing. This is because inline objects will add a few pixels of spacing if there’s whitespace between the objects. I consider Minify HTML a good way of finding these style ‘errors’ and correcting them with proper padding or margin style.

Is it fast?

Plenty. On my server that’s running dozens of websites, it takes 0.007 seconds to minify a page. Also, because the HTML file is smaller, it will speed up transfer and rendering times. Minify HTML doesn’t use bloated external libraries that add additional overhead and therefore take longer to process.

How much smaller will my HTML be?

With real-world test sites, the HTML file is around 20-25% smaller. Even when using deflate/gzip compression the resulting file is around 20% smaller, speeding up download times.

I’m using deflate/gzip to compress HTML, do I need Minify HTML?

With Minify HTML, the source HTML file will be smaller, therefore, it will compress faster and be even smaller once compressed. Also, even with deflate/gzip, your HTML markup will still look sloppy and amateurish. Minify HTML corrects this even for deflated/gzip transfers (and also saves another 20% in bandwidth).

×
نظری برای این آیتم موجود نیست.
0 0 رای ها
امتیازدهی
اشتراک در
اطلاع از
0 نظرات
قدیمی‌ترین
تازه‌ترین بیشترین رأی
بازخورد (Feedback) های اینلاین
مشاهده همه دیدگاه ها
نسخه حجم فایل SHA256 تغییرات دانلود
2.1.13 7 کیلوبایت -
دانلود
×
★★★★★
★★★★★
4.7 /5 (33 نظر)

قیمت:

رایگان

نگارش

2.1.13

آخرین انتشار

10 اردیبهشت 1405

آخرین بروزرسانی

2 ماه پیش

نصب های فعال

10,000+

نگارش وردپرس

وردپرس 3.6.0+

تست شده از نسخه

وردپرس 6.9.4

نگارش PHP

PHP 5.2.4+

نسخه ها

1 نسخه