2017 © Pedro Peláez
 

library laravel-100-page-speed

100 Page Speed Module for Laravel 5

image

askedio/laravel-100-page-speed

100 Page Speed Module for Laravel 5

  • Saturday, February 27, 2016
  • by gcphost
  • Repository
  • 1 Watchers
  • 6 Stars
  • 121 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 2 Forks
  • 3 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

Minify HTML & Cache 3rd Party Resources

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)

WARNING

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)

Install

composer require askedio/laravel-100-page-speed:dev-master

Register the provider, (*3)

Askedio\Laravel100PageSpeed\PageSpeedServiceProvider::class,

Routes

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)

Minifying

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)

The Versions

27/02 2016

dev-master

9999999-dev

100 Page Speed Module for Laravel 5

  Sources   Download

MIT

The Requires

 

laravel