nitogel/laravel-fcache-gc 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

nitogel/laravel-fcache-gc

Composer 安装命令:

composer require nitogel/laravel-fcache-gc

包简介

A Laravel package to backup your application

README 文档

README

When using the file cache driver, Laravel creates the cache files but never purges expired ones. This can lead to a situation where you have a large number of unused and irrelevant cache files, especially if you do a lot of short-term caching in your system.

This package creates an artisan command cache:gc that will garbage-collect your cache files, removing any that have expired. You may run this manually or include it in a schedule.

Thanks to Jon Baker for inspire [https://github.com/jdavidbakr/laravel-cache-garbage-collector]

Install

Via Composer

$ composer require nitogel/laravel-fcache-gc

Then add the service provider to app/Console/Kernel.php in the $commands array:

\Nitogel\LaravelFileCacheGarbageCollector\ClearExpiredCache::class

Usage

$ php artisan cache:gc 
$ php artisan cache:gc -d -i 

Params

-d deleting folders -i interactive deleting

统计信息

  • 总下载量: 10
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2019-08-13

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固