{"id":13684161,"url":"https://github.com/CakeDC/cakephp-cached-routing","last_synced_at":"2025-04-30T20:33:13.393Z","repository":{"id":37452643,"uuid":"463512718","full_name":"CakeDC/cakephp-cached-routing","owner":"CakeDC","description":"Provides a cached version of the RoutingMiddleware to improve the load time of routes","archived":false,"fork":false,"pushed_at":"2023-10-19T14:57:22.000Z","size":23,"stargazers_count":4,"open_issues_count":0,"forks_count":1,"subscribers_count":6,"default_branch":"2.next-cake5","last_synced_at":"2024-11-12T05:37:07.887Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/CakeDC.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2022-02-25T11:48:07.000Z","updated_at":"2024-10-22T00:42:10.000Z","dependencies_parsed_at":"2022-08-19T12:21:48.835Z","dependency_job_id":"868b3124-9616-4075-9b99-2b40838a47bb","html_url":"https://github.com/CakeDC/cakephp-cached-routing","commit_stats":{"total_commits":6,"total_committers":1,"mean_commits":6.0,"dds":0.0,"last_synced_commit":"7639a2aece7ab394253819ffd41c034f72825ddb"},"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CakeDC%2Fcakephp-cached-routing","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CakeDC%2Fcakephp-cached-routing/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CakeDC%2Fcakephp-cached-routing/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CakeDC%2Fcakephp-cached-routing/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CakeDC","download_url":"https://codeload.github.com/CakeDC/cakephp-cached-routing/tar.gz/refs/heads/2.next-cake5","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251777715,"owners_count":21642212,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-02T14:00:28.430Z","updated_at":"2025-04-30T20:33:13.387Z","avatar_url":"https://github.com/CakeDC.png","language":"PHP","funding_links":[],"categories":["Caching","Plugins"],"sub_categories":["Caching"],"readme":"CakeDC Cached Routing\n=====================\n\nAfter deprecation of the cache option in RoutingMiddleware in CakePHP 4.4+ and removal in CakePHP 5.0, the feature is\nextracted here in case you still want to use it to speed up your routes loading when your routes do not include\nnon-serializable contents.\n\nThis plugin provides a replacement for the RoutingMiddleware to allow caching of the route collection.\n\nInstallation\n------------\n\n* `composer require cakedc/cakephp-cached-routing`\n* Replace RoutingMiddleware reference in your `Application::middleware` function to\n\n```php\n    // ...\n    -\u003eadd(new \\CakeDC\\CachedRouting\\Routing\\Middleware\\CachedRoutingMiddleware($this, '_cake_routes_'))\n    // ...\n```\n* Add the `_cake_routes_` cache settings in your `config/app_local.php`.\n\nRequirements\n------------\n\n* CakePHP 5.0+\n* PHP 8.1+\n\nSupport\n-------\n\nFor bugs and feature requests, please use the [issues](https://github.com/CakeDC/cakephp-cached-routing/issues) section of this repository.\n\nCommercial support is also available, [contact us](https://www.cakedc.com/contact) for more information.\n\nContributing\n------------\n\nThis repository follows the [CakeDC Plugin Standard](https://www.cakedc.com/plugin-standard). If you'd like to contribute new features, enhancements or bug fixes to the plugin, please read our [Contribution Guidelines](https://www.cakedc.com/contribution-guidelines) for detailed instructions.\n\nLicense\n-------\n\nCopyright 2023 Cake Development Corporation (CakeDC). All rights reserved.\n\nLicensed under the [MIT](http://www.opensource.org/licenses/mit-license.php) License. Redistributions of the source code included in this repository must retain the copyright notice found in each file.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FCakeDC%2Fcakephp-cached-routing","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FCakeDC%2Fcakephp-cached-routing","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FCakeDC%2Fcakephp-cached-routing/lists"}