Skip to content

OFFLINE-GmbH/oc-speedy-plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Speedy plugin

Website optimization plugin for October CMS.

Optimizations

Speedy provides you with the following optimization options. You can enable and disable them via the backend settings.

  • HTTP/2 preloading
  • Gzip
  • Cache headers
  • Domain sharding

Requirements

Speedy currently only works with the Apache web server with enabled htaccess file support.

Speedy makes use of mod_expires, mod_gzip and mod_headers.

Console commands

You can get your current Speedy settings with the following command:

php artisan speedy:status

There are also a number of console commands to toggle optimizations.

Toggle HTTP/2 preloading:

php artisan speedy:toggle-http2

Toggle Gzip:

php artisan speedy:toggle-gzip

Toggle Caching:

php artisan speedy:toggle-caching

You can also choose to try to enable to disable an option by adding the --enable or --disable option respectively to any of the toggle commands. If the option is already enabled / disabled, no changes will be made.

Attributions

The speedy flash icon was created by SagarUnagar and is licensed under CC BY 3.0. Speedy uses a modified version of JacobBennett's laravel-HTTP2ServerPush middleware which is licensed under the MIT license.