Skip to content

Commit 12de630

Browse files
mvdnbrkJosephSilber
authored andcommitted
Adds badges. (#31)
1 parent ae282c5 commit 12de630

File tree

1 file changed

+15
-1
lines changed

1 file changed

+15
-1
lines changed

readme.md

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# Laravel Page Cache
22

3+
[![Latest Stable Version][ico-version]][link-packagist]
4+
[![Build Status][ico-travis]][link-travis]
5+
[![Total Downloads][ico-downloads]][link-downloads]
6+
[![License][ico-license]](LICENSE.txt)
7+
38
This package allows you to easily cache responses as static files on disk for lightning fast page loads.
49

510
- [Introduction](#introduction)
@@ -114,7 +119,7 @@ To make sure you don't commit your locally cached files to your git repository,
114119
### Using the middleware
115120
116121
> **Note:** If you've added the middleware to the global `web` group, then all successful GET requests will automatically be cached. No need to put the middleware again directly on the route.
117-
>
122+
>
118123
> If you instead registered it as a route middleware, you should use the middleware on whichever routes you want to be cached.
119124
120125
To cache the response of a given request, use the `page-cache` middleware:
@@ -185,3 +190,12 @@ By default, all GET requests with a 200 HTTP response code are cached. If you wa
185190
## License
186191
187192
The Page Cache package is open-sourced software licensed under the [MIT license](https://opensource.org/licenses/MIT).
193+
194+
[ico-downloads]: https://poser.pugx.org/silber/page-cache/downloads
195+
[ico-license]: https://poser.pugx.org/silber/page-cache/license
196+
[ico-travis]: https://travis-ci.org/JosephSilber/page-cache.svg
197+
[ico-version]: https://poser.pugx.org/silber/page-cache/v/stable
198+
199+
[link-downloads]: https://packagist.org/packages/silber/page-cache
200+
[link-packagist]: https://packagist.org/packages/silber/page-cache
201+
[link-travis]: https://travis-ci.org/JosephSilber/page-cache

0 commit comments

Comments
 (0)