https://github.com/matthewbdaly/laravel-etag-middleware
A Laravel middleware for adding ETags to HTTP requests to improve response times
https://github.com/matthewbdaly/laravel-etag-middleware
etag etags http laravel laravel-middleware middleware php
Last synced: 11 months ago
JSON representation
A Laravel middleware for adding ETags to HTTP requests to improve response times
- Host: GitHub
- URL: https://github.com/matthewbdaly/laravel-etag-middleware
- Owner: matthewbdaly
- License: mit
- Created: 2017-02-07T21:06:56.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2024-03-02T03:07:27.000Z (over 2 years ago)
- Last Synced: 2025-09-02T06:41:36.742Z (11 months ago)
- Topics: etag, etags, http, laravel, laravel-middleware, middleware, php
- Language: PHP
- Size: 31.3 KB
- Stars: 64
- Watchers: 4
- Forks: 13
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# laravel-etag-middleware
A Laravel middleware for adding ETags to HTTP requests to improve response times
[](https://travis-ci.org/matthewbdaly/laravel-etag-middleware)
[](https://coveralls.io/github/matthewbdaly/laravel-etag-middleware?branch=master)
[](https://styleci.io/repos/81254291)
Installation
------------
Run the following command to install the package:
```bash
composer require matthewbdaly/laravel-etag-middleware
```
Then just include this in your `app/Http/Kernel.php` in the appropriate place where you want to import the middleware:
```php
\Matthewbdaly\ETagMiddleware\ETag::class
```