Giter Site home page Giter Site logo

oc-speedy-plugin's Introduction

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.

oc-speedy-plugin's People

Contributors

damsfx avatar gergo85 avatar guus-frenken avatar tobias-kuendig avatar zlobec avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

oc-speedy-plugin's Issues

Exception: Illuminate\Contracts\Container\BindingResolutionException

Hi,
I'm running Winter CMS locally on PHP 8.1 and receiving this error:


Target [Illuminate\Routing\RouteCollectionInterface] is not instantiable while building [OFFLINE\Speedy\Classes\Middleware\CDNMiddleware, Illuminate\Routing\UrlGenerator].

...\vendor\laravel\framework\src\Illuminate\Container\Container.php line 1103

    Type

    Undefined
    Exception

    Illuminate\Contracts\Container\BindingResolutionException

image
Is it related to PHP 8.1 ?

Thank you!

Handle unwriteable .htaccess file

Sometimes a user may with to disable writing to the .htaccess file directly.
If this is the case (write access to the .htaccess file is missing), simply show the contents that would be written to the file to the user so she can insert them manually.

Nginx support?

I noticed this mainly uses a htaccess file which is an apache specific thing. Is there any plans to support nginx given this is all about performance? Nginx can be configured to be significantly faster than apache :)

Composer issue

Hello.
OCMS 2.2.32, Speedy version 1.0.8.
Just running the usual composer update and getting this error (on local windows machine and hosted linux).
Any ideas? Thanks.

Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - Root composer.json requires offline/speedy-plugin ^1.0, found offline/speedy-plugin[v1.0.8] in the lock file but not in remote repositories, make sure you avoid updating this package to keep the one from the lock file.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.