"HTML Minification is deprecated and will be removed on 2024-06-14."

Have noticed this “HTML Minification is deprecated and will be removed on 2024-06-14.” on both (deprecating soon) ‘Page Rules’ and ‘Configuration Rules’ pages.

This comes as a surprise to me as it’s not shown on the ‘Speed’ page, is there an official announcement regarding this?

Screenshot from Page Rules
image

Screenshot from Configuration Rules
image

I’m also a little surprised to see this.

I know HTML Minification is something that causes a lot of issues, but I imagine quite a few people rely on this. With no other formal notice that I can see (blog post, email alerts), and only 2 months notice in the dash until it’s removed is a little concerning. I can only hope this was rolled out early in error.

Hopefully @mbullock can share some more details.

2 Likes

Hi All - we are working on communications now - the date may be pushed out but unsure of “reliance” on this as a product. For example code would be sent as is and not stripped of a few bytes. The internet has become more optimised and there is better delivery techniques for content.

Over the coming year we will be working on removing a lot of legacy products that have been untouched and in life support mode. This is preparation work to enhancing our platform.

HTML minification has to run decompression on all assets as it runs on a response we then attempt to run the minification and re-compress the response. This actually adds latency and with better compression methods larger files.

As stated the codebase has been untouched in CF for a long time. We have many threads, bugs and issues where HTML minification is not achieving the results expected and most platforms now incorporating minification.

Sorry this caught you unaware but we are working on communication with customers that have this enabled.

Matt

UPDATE 15/05/2024

A quick update here. The message is in the final stages of being prepared for all current users of minification and expected to be sent out this week.

You can see the the thread here set up by Alex the PM for minification: Deprecating Auto Minify

Matt

6 Likes

Does this also apply to the zone-wide setting here?
https://dash.cloudflare.com/?to=/:account/:zone/speed/optimization/content

As noted by the original poster, the deprecation notice is only showing under Page and Configuration Rules at the moment.

1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.

Any news on comms for this @mbullock ?

If folks are relying on HTML minification to remove comments in their HTML like <!-- this is something secret -->, this could be problematic.

They obviously shouldn’t be doing that, but I’d bet someone is.

1 Like

So comms have been drafted and list pulled to be emailed. The date will be now August 5th 2024. @cherryjimbo I sincerely hope that no one is doing that!

Matt

2 Likes

A quick update here. The message is in the final stages of being prepared for all current users of minification and expected to be sent out this week.

You can see the the thread here set up by Alex the PM for minification: Deprecating Auto Minify

Matt

1 Like