关键词:cache

1
在 Laravel 里使用 Repository 设计模式
2
Speed up a Laravel application by caching the entire response
3
Rinvex Repository is a simple, intuitive, and smart implementation of Active Repository with extremely flexible & granular caching system for Laravel, used to abstract the data layer, making applications more flexible to maintain.
5
Caches responses as static files on disk for lightning fast page loads..
7
A package for the Illuminate framework that flattens pages to plain HTML
8
Russian Doll Caching for Laravel.
9
A Redis based, automated and scalable database caching layer for Laravel 5.1+
10
A Guzzle middleware that can throttle requests according to (multiple) defined rules. It is also possible to define a caching strategy, e.g. get response from cache when rate limit is exceeded or always get cached value to spare your rate limits.
11
Aspect Oriented Programming library for laravel framework, and lumen
12
Smarty template engine for Laravel and Lumen
13
Provides keywords behavior for the Laravel Cache.
15
A Laravel wrapper for https://github.com/hamburgscleanest/guzzle-advanced-throttle.
16
[![Latest Stable Version](https://poser.pugx.org/flc/laravel-middleware-cache-response/v/stable)](https://packagist.org/packages/flc/laravel-middleware-cache-response) [![Total Downloads](https://poser.pugx.org/flc/laravel-middleware-cache-response/downloads)](https://packagist.org/packages/flc/laravel-middleware-cache-response) [![License](https://poser.pugx.org/flc/laravel-middleware-cache-response/license)](https://packagist.org/packages/flc/laravel-middleware-cache-response) ## 功能 - 支持缓存渲染后数据 - 支持指定缓存过期时间(默认10分钟) - header头输出缓存命中状态、缓存Key及过期时间 ## 安装 ```sh composer require flc/laravel-middleware-cache-response ``` ## 配置 > `\app\Http\Kernel.php`文件中`$routeMiddleware`增加: ```php <?php 'cache.response' => \Flc\Laravel\Http\Middleware\CacheResponse::class, // cache.response 命名随意,你开心就好 ``` ## 使用 ```php <?php Route::get('/', function () { return view('welcome'); })->middleware('cache.response'); Route::get('/', function () { return view('welcome'); })->middleware('cache.response:20'); // 指定缓存时间20分钟 ``` ## 附录 **缓存规则** - 当前URL全路径md5 **Headers** ``` X-Cache:Missed X-Cache-Expires:2018-03-29 15:08:29 CST X-Cache-Key:6c9b19774e2c304a42d200f314d8c80b ``` ## License MIT
18
Simple on demand caching extension for Laravel.
19
Infinity cache for Laravel Eloquent models and queries
20
Prefixes asset urls with a unique hash which will allow invalidation of asset files cached by the browser.
21
Image uploads and manipulation for Laravel, a wrapper around Glide
23
This package allows you to cache your routes definitions, thereby speeding up each request.
24
Rinvex Cacheable is a granular, intuitive, and fluent caching system for eloquent models. Simple, but yet powerful, plug-n-play with no hassle.
25
Support is a Laravel package which promotes the use of best practices and design patterns.
26
Laravel Redis visits counter for Eloquent models
27
Extends the built-in Laravel 5 Cache Memcached driver adding support for persistent connections, SASL and Memcached options.
28
Laravel package for storing current application state in cache/session
30
Simple to use Caching Repository for Laravel Eloquent