Loading...
 
Skip to main content

History: Minify JavaScript

Source of version: 10 (current)

Copy to clipboard
            ! Minify JavaScript

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

It has two benefits:
* __Better performance__ by reducing the quantity of data to transfer.
* __Cache-busting__: the filenames of minified JavaScript 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 CSS))
* ((Clearing cache))
* ((Performance)) admin panel

-=Alias=-
(alias(Minify JS))