dev-master
9999999-dev100 Page Speed Module for Laravel 5
MIT
The Requires
- php >=5.5.9
- laravel/framework 5.2.*
laravel
100 Page Speed Module for Laravel 5
This package will automatically minify your html code and provide a route for 3rd party resources like Google Analytics that have a short cache life., (*1)
The HTML minifier is very strict and may cause issues with your code. I've resolved all issues with an even stricter version, so you can too., (*2)
composer require askedio/laravel-100-page-speed:dev-master
Register the provider, (*3)
Askedio\Laravel100PageSpeed\PageSpeedServiceProvider::class,
You now have a /cache/ route with analytics.js by default, (*4)
/cache/annalytics.js
This will temporarily cache the script in the clients session. It's not to be used for heavy scripts. This is required for a 100 score with Google Analytics, (*5)
All html routes are automatically minified. There will be a config file to control the level of minification (if interest is shown in this project)., (*6)
100 Page Speed Module for Laravel 5
MIT
laravel