Skip to content

Releases: taufik-nurrohman/kirby-minify

v1.2.0

07 Feb 02:05
Compare
Choose a tag to compare

It now automatically minifies asset files that are embedded in the HTML page. The minified files are stored in the same folder, but with an extra .min. added just before the file extension:

Warning

Be aware that this will wipe the existing **.min.css file if you already have it. You probably have created it before with a better minification script using the Node.js build tool and such, which is more optimized in every way.

/assets/css/index.css → /assets/css/index.min.css
/assets/css/templates/home.css → /assets/css/templates/home.min.css

To ensure that updated files are fresh to the public (the public doesn’t keep loading the old, cached files), an ?v=* query is added to the end of every minified asset URL, where the value changes every time the original file is modified:

/assets/css/index.css → /assets/css/index.min.css?v=674844dc
/assets/css/templates/home.css → /assets/css/templates/home.min.css?v=674844dc

v1.1.3

29 Jan 09:26
0548c9d
Compare
Choose a tag to compare
Update

v1.1.2

15 Jan 23:31
Compare
Choose a tag to compare

v1.1.1

12 Jan 16:51
Compare
Choose a tag to compare

Bug fix on the Panel.

v1.1.0

12 Jan 15:58
Compare
Choose a tag to compare
  • Add options feature.
  • Minify dynamic CSS, JavaScript, and SVG files as well.

v1.0.0

12 Jan 04:45
Compare
Choose a tag to compare
Update