cakedc/cakephp-cached-routing 问题修复 & 功能扩展

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

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

cakedc/cakephp-cached-routing

最新稳定版本:2.0.1

Composer 安装命令:

composer require cakedc/cakephp-cached-routing

包简介

Cached RoutingMiddleware for CakePHP 5.0+

README 文档

README

After deprecation of the cache option in RoutingMiddleware in CakePHP 4.4+ and removal in CakePHP 5.0, the feature is extracted here in case you still want to use it to speed up your routes loading when your routes do not include non-serializable contents.

This plugin provides a replacement for the RoutingMiddleware to allow caching of the route collection.

Installation

  • composer require cakedc/cakephp-cached-routing
  • Replace RoutingMiddleware reference in your Application::middleware function to
    // ...
    ->add(new \CakeDC\CachedRouting\Routing\Middleware\CachedRoutingMiddleware($this, '_cake_routes_'))
    // ...
  • Add the _cake_routes_ cache settings in your config/app_local.php.

Requirements

  • CakePHP 5.0+
  • PHP 8.1+

Support

For bugs and feature requests, please use the issues section of this repository.

Commercial support is also available, contact us for more information.

Contributing

This repository follows the CakeDC Plugin Standard. If you'd like to contribute new features, enhancements or bug fixes to the plugin, please read our Contribution Guidelines for detailed instructions.

License

Copyright 2023 Cake Development Corporation (CakeDC). All rights reserved.

Licensed under the MIT License. Redistributions of the source code included in this repository must retain the copyright notice found in each file.

统计信息

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

GitHub 信息

  • Stars: 5
  • Watchers: 4
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2022-06-21