Loading...
 
Skip to main content

History: Minify CSS

Source of version: 7 (current)

Copy to clipboard
            ! Minify CSS

This is done via tiki-admin.php?page=performance -> Performance

It has two benefits:
* __Better performance__ by reducing the quantity of data to transfer.
** Each CSS file can be minified, or aggregate and compress into one file
* __Cache-busting__: the filenames of minified CSS files be based on the contents of all the files, not just the filenames, so that when anything changes within a file, i.e. after an upgrade or bug fix, browsers will automatically get the new version of the code (following clearing the tiki caches only). This is especially important with you are using something like [https://httpd.apache.org/docs/2.4/mod/mod_expires.html|mod_expires].

Uses https://packagist.org/packages/matthiasmullie/minify

Related
* ((Minify JavaScript))
* ((Clearing cache))
* ((Performance)) admin panel