You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is not a super-high priority, but we recently removed the compress template and would like to do post-processing of all assets that could benefit from it. This is a memo.
I would like to work on this issue and submit a pull request.
The sources are untouched throughout: a mark keeps its file header and
its line breaks, and the vendored counter stays byte for byte what
upstream serves, which is what lets #1865 tell whether it has fallen
behind.
Two things came out of this that are worth knowing:
Inline marks are two in five bytes of a built page, and the HTML
minifier does not read inside one. They come from three places — {% include %}, written into a template, and emitted by markdown-it-github-alerts — which is why the pass reads the output
rather than the includes.
Minifying a redistributed file strips its terms unless told not to.
The counter is ISC, which asks for the notice in every copy.
This did not close on its own, though #1867 carries Fixes: and GitHub
records the link. Nothing in this repository has ever closed that way —
every issue is closed by hand, which is worth a look at what the
landing app is allowed to do.
Activity
DerekNonGeneric commentedon Apr 27, 2024
🔗 https://mademistakes.com/articles/using-jekyll-2017/#replace-layout-compress
🏗️🚀:optimize the SVG the site publishes
🏗️🚀:optimize the SVG the site publishes
🏗️✨:watch the vendored files for drift
🏗️✨:watch the vendored files for drift
📦🔧:update the vendored analytics script
🏗️✨:watch the vendored files for drift
🏗️🚀:optimize the SVG the site publishes
🏗️🚀:optimize the SVG the site publishes
🏗️🚀:optimize the SVG the site publishes
🏗️🚀:optimize the SVG the site publishes
🏗️🚀:optimize the SVG the site publishes
🏗️🚀:optimize the SVG the site publishes
🏗️🚀:minify the script the site serves
🏗️🚀:minify the script the site serves
DerekNonGeneric commentedon Aug 26, 2026
Every asset that could benefit now is post-processed, in the build that
publishes only.
html-minifier-tersersvgo, inlined marks and files alikecssnanoterser, keeping the license noticeThe sources are untouched throughout: a mark keeps its file header and
its line breaks, and the vendored counter stays byte for byte what
upstream serves, which is what lets #1865 tell whether it has fallen
behind.
Two things came out of this that are worth knowing:
minifier does not read inside one. They come from three places —
{% include %}, written into a template, and emitted bymarkdown-it-github-alerts— which is why the pass reads the outputrather than the includes.
The counter is ISC, which asks for the notice in every copy.
This did not close on its own, though #1867 carries
Fixes:and GitHubrecords the link. Nothing in this repository has ever closed that way —
every issue is closed by hand, which is worth a look at what the
landing app is allowed to do.