tjdraper / marksmin-ee
Minify ExpressionEngine HTML output
Installs: 436
Dependents: 0
Suggesters: 0
Security: 0
Stars: 6
Watchers: 4
Forks: 2
Open Issues: 0
Type:ee-add-on
Requires
- mrclay/minify: ^3.0.3
Requires (Dev)
- roave/security-advisories: dev-master
- tjdraper/expressionengine: ^4.0.7
This package is auto-updated.
Last update: 2024-10-29 04:53:27 UTC
README
Marksmin will minify the output of your ExpressionEngine templates. This is extremely useful if you need to count on minified output for inline block elements in your CSS, and can save your end users a few bytes in the process. This extension uses the Minify library.
To use, enable the extenstion, and place the following parameters in your EE config file.
$config['marksmin_enabled'] = true;
$config['marksmin_xhtml'] = false; // Set to true if you're living in the past
That's it. The output of your standard HTML EE templates will now be minified.
View changelog and documentation at: https://buzzingpixel.com/software/marksmin/documentation
License
Copyright 2018 BuzzingPixel, LLC
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.