{"repo":"spatie/laravel-responsecache","free":true,"listed":false,"github":"https://github.com/spatie/laravel-responsecache","clone":"git clone https://github.com/spatie/laravel-responsecache.git","description":"Speed up a Laravel app by caching the entire response","language":"PHP","stars":2813,"topics":["laravel","php","cache","varnish","performance"],"license":"MIT","category":"api-integrations-sdks","readme_excerpt":"Speed up an app by caching the entire response This Laravel package can cache an entire response. By default it will cache all successful GET requests that return text based content (such as HTML and JSON) for a week. This could potentially speed up the response quite considerably. The first time a request comes in, the package will save the response before sending it to the user. When the same request comes in again, the cached response is returned without going through the entire application. Here's a quick example: For pages where brief staleness is acceptable, you can use flexible caching. After the lifetime expires, the stale response is still served instantly while the cache refreshes in the background. Once the grace period is over, the cache is considered expired and the next request will be fully recalculated: Support us We invest a lot of resources into creating best in class open source packages. You can support us by buying one of our paid products. We highly appreciate you sending us a postcard from your hometown, mentioning which of our package(s) you are using. You'll find our address on our contact page. We publish all received postcards on our virtual postcard wall. Documentation All documentation is available on our documentation site. Testing You can run the tests with: Changelog Please see CHANGELOG for more information on what has changed recently. Contributing Please see CONTRIBUTING for details. Security Vulnerabilities Please review our security policy","default_branch":null,"files":null,"tree":[],"storefront":"/r/spatie","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/spatie/laravel-responsecache/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}