a3020/quick_not_found

A concrete5 8.4.0+ add-on to quickly return a 404-response if a file isn't found.

Installs: 41

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 2

Forks: 1

Open Issues: 0

Type:concrete5-package

0.9.0 2018-10-05 07:54 UTC

This package is auto-updated.

Last update: 2022-09-06 05:01:13 UTC


README

Software License

Quick Not Found

A concrete5 8.4.0+ add-on to quickly return a response if a file isn't found. This is especially useful if you pull remote databases to your local environment. In that case missing images may cause extremely slow pages because for each one of them, the 'page not found' page is rendered. This add-on will simply return a 404-response, making it way faster.

Installation

  • Download the zip and extract to 'packages'. Make sure '-master' is removed from the directory name.
  • Or via Composer: composer require a3020/quick_not_found

Environment

The middleware is only active on local environments. For more information about environment configurations, check the tutorial.

License

MIT