Loading...
 
Skip to main content

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 mod_expires.


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

Related