Hexo Filter Cleanup

screenshot of Hexo Filter Cleanup
hexo

All in one. Minifier & Optimization plugin for Hexo

Overview

Hexo-filter-cleanup is a powerful plugin designed to enhance the performance and optimization of Hexo projects. Inspired by the hexo-all-minifier, this plugin was completely re-written to address various issues that users experienced, especially on Mac OSX platforms. With a suite of features that streamline the minification and optimization process, this tool is a must-have for developers looking to improve their website's load times and overall efficiency.

The plugin integrates numerous official minifier plugins and additional optimization options, making it an all-in-one solution for Hexo users. Whether you are looking to compress images, minify HTML, or optimize CSS and JavaScript, Hexo-filter-cleanup has got you covered.

Features

  • All-in-One Minifier: Combines various optimization plugins for seamless integration and functionality, including HTML, CSS, and JavaScript minifiers.

  • Useref Support: Easily parse and build blocks in HTML files to streamline code organization and loading efficiency.

  • Dynamic Favicon Generation: Automatically create favicons on the fly, ensuring your site always showcases the correct branding without manual intervention.

  • Customizable Options: Offers a range of options including enabling/disabling plugins, excluding specific files, and setting optimization levels.

  • Debug Mode: Allows for easy troubleshooting by disabling all optimizations and providing insights during development.

  • Fine-Tuned Image Optimization: Utilizes imagemin to enhance images while offering advanced settings like progressive rendering and multiple optimization passes.

  • Automatic File Concatenation: Reduces the number of requests by automatically concatenating referenced files, improving loading times.

  • Efficient Configuration Management: Fine-grain control over favicon configurations and other optimizations, providing flexibility for tailored setups.

hexo
Hexo

Hexo is a static site generator built with Node.js that enables developers to create fast and efficient websites using Markdown, EJS, and Stylus. It offers features such as server-side rendering, plugin support, and easy deployment to hosting services like GitHub Pages and Netlify.

eslint
Eslint

ESLint is a linter for JavaScript that analyzes code to detect and report on potential problems and errors, as well as enforce consistent code style and best practices, helping developers to write cleaner, more maintainable code.