Skip to content

Commit 0e5b0e0

Browse files
author
Kirk Fletcher
committed
readme update 2
1 parent 70895db commit 0e5b0e0

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

readme.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,22 @@
11

2-
# Laravel Pagespeed
2+
# Laravel Pagespeed (for Laravel 5.7 and up)
33

44
Pagespeed is a simple package to apply filters to the view output such as removing whitespace and comments (a lot more to come). The benefit is quite considerable page speed increase, great if you are looking to increase score on Google's Pagespeed Insights, and even better for a smooth user experience.
55

66
In addition to applying selected filters, rendered views are cached using the cache configuration you have set-up in Laravel (I recommend using memcached). This allows for lightning fast rendering and delivery of pages.
77

88
Obviously while this is good for static pages such as homepage, contact us etc, this will prevent the use of pages with dynamic content. However, if a user is logged in the package will skip serving the cached page and serve a dynamic page (still applying filters).
99

10+
11+
### Installation
12+
13+
composer require kirksfletcher/pagespeed:dev-master
14+
15+
1016
### Usage is simple:
1117

18+
19+
1220
Whilst you are free to choose your own implementation method, here is the one I like to use.
1321

1422

0 commit comments

Comments
 (0)