定制 fortrabbit/yii-memcached 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

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

fortrabbit/yii-memcached

最新稳定版本:2.0.0

Composer 安装命令:

composer require fortrabbit/yii-memcached

包简介

Memcached Session & Cache for Craft CMS / Yii2 on fortrabbit

README 文档

README

This yii-extension is a memcached drop in replacement for sessions, cache and mutex. The file Session handler and the file Cache driver are getting replaced to work with Memcache without the need for further configuration for Pro Apps hosted on fortrabbit.

Requirements

  • Craft CMS (Version 3, 4, 5)
  • A Professional App on fortrabbit (see below for other hosting providers)

Install

  1. Install the extension with Composer composer require fortrabbit/yii-memcached
  2. Deploy the composer.json and composer.lock file with Git
  3. That's it

Non-fortrabbit environments

Provide the following ENV vars, if your application is not running on fortrabbit:

  • MEMCACHE_COUNT (int, number of Memcached servers)
  • MEMCACHE_HOST1 (host name of first Memcached server)
  • MEMCACHE_PORT1 (port of first Memcached server)
  • MEMCACHE_HOST(n) (host name of nth Memcached server)
  • MEMCACHE_PORT(n) (port of nth Memcached server)

Good to know

  • Read the fortrabbit Memcache help why this is mandatory in multi node environments
  • This is not a Craft CMS plugin but an extension for the underlying Yii framework
  • This is not required for Universal Apps hosted on fortrabbit, since there is no Memcache and the file system is persistent

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2018-06-19

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固