在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称(OpenSource Name):fitztrev/laravel-html-minify开源软件地址(OpenSource Url):https://github.com/fitztrev/laravel-html-minify开源编程语言(OpenSource Language):PHP 100.0%开源软件介绍(OpenSource Introduction):UPDATE for Laravel 5/5.1+Read my preferred way of minifying HTML in Laravel 5/5.1+ apps here: Using Gulp to Minify Laravel Blade Templates Laravel HTML Minifyhere for L5+For Laravel 4 - SeeAboutThis package compresses the HTML output from your Laravel 4 application, seamlessly reducing the overall response size of your pages. Other scripts that I've seen will compress the HTML output on-the-fly for each request. Instead, this package extends the Blade compiler to save the compiled template files to disk in their compressed state, reducing the overhead for each request. Why?Even with gzip enabled, there is still an improvement in the response size for HTML content-type documents.
Installation
ConfigOptionally, you can choose to customize how the minifier functions for different environments. Publish the configuration file and edit accordingly.
Options
If you are using a javascript framework that conflicts with Blade's tags, you can change them.
Skipping minificationTo prevent the minification of a view file, add
|
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论