Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#13 2024-07-26 04:11:09

Pat64
Plugin Author
From: France
Registered: 2005-12-12
Posts: 1,626
GitHub Twitter

Re: Using the "escape" attribute with the "tidy" value across site.

phiw13 wrote #337462:

Indeed. The only benefit of minification is going beyond white-space removal/collapsing/… and also remove all redundant HTML/CSS/JS comments that might exist in the source file, before gzipping. pat_speeder does not seem to remove the HTML comments.

The plugin removes all comments if the preference “Support for comments” is set accordingly (see here: https://github.com/cara-tm/pat_speeder/blob/master/pat_speeder.php#L90). I just committed a new version (2.2) with the parameter set to 0 (No) by default (previous plugin versions were confusing).


Patrick.

Github | CodePen | Codier | Simplr theme | Wait Me: a maintenance theme | [\a mi.ni.ma]: a “Low Tech” simple Blog theme.

Offline

Board footer

Powered by FluxBB