offline/oc-speedy-plugin

Speed up your October CMS installation

Installs: 580

Dependents: 0

Suggesters: 0

Security: 0

Stars: 19

Watchers: 4

Forks: 8

Open Issues: 3

Type:october-plugin

v1.0.13 2023-05-10 12:54 UTC

This package is auto-updated.

Last update: 2024-04-10 15:07:21 UTC


README

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.