#17

Product support

Visit this product's website for support.

Categories

  • Developer Tools
  • Utility

This plugin provides the mechanism to render the page using minified version of HTML, JS and CSS files. Minified HTML is generated using regular expression, JavaScript files are generated using Core Compressor and CSS files are generated using Core or YUI Compressor.

How Minify help

Minify removes the comments and whitespace which will help to reduce the file size. Smaller HTML and file size reduces the page load time and improve the website performance.

Installation

Just add Minify plugin to a project.

Configuration

To configure this Plugin goto Backend System then find CMS in left side bar, then click on Minify, you will get Configuration options.

Change {{...|theme}} to {{...|minify}} in your template file.

Clear Cache

$ php artisan minify:clear

  • Found the plugin useful on 19 Nov, 2016

    Great plugin, working very well in my project.

  • Found the plugin useful on 15 Oct, 2016

    It does not seem to work for .css and .js files included like this in the template:

    <link rel="stylesheet" href="{{ 'assets/css/bootstrap.css'|theme }}" type="text/css" media="all">

    How can I get those to be minified as well? (minify CSS and JS plugins is checked in the plugin settings page).

  • author

    Replied on 15 Oct, 2016

    Just change {{...|theme}} to {{...|minify}} in your template file.

    Sorry! I forgot to add this in docs!

  • Found the plugin useful on 23 Aug, 2016

    Nice, can you add an option to disable minify for backend users. This will help developers to find errors in live site. Also you could add a minify option for .css and .js files.

  • author

    Replied on 23 Aug, 2016

    Nice, can you add an option to disable minify for backend users.

    Of course!

    Also you could add a minify option for .css and .js files.

    Ok, I will try!

1.0.6

Added permission

Oct 23, 2016

1.0.5

Fixed Class name

Sep 07, 2016

1.0.4

Added Greek Translation

Aug 30, 2016

1.0.3

Fixed french translation

Aug 29, 2016

1.0.2

Added fr translation.

Aug 29, 2016

1.0.1

First version of Minify

Aug 20, 2016