ale10257 / yii2-opcache
软件包
1.04
2017-05-19 11:19 UTC
Requires
- php: >=5.6.0
- yiisoft/yii2: *
- yiisoft/yii2-bootstrap: ^2.0
This package is not auto-updated.
Last update: 2024-10-01 11:29:55 UTC
README
显示统计信息,配置,重置全部,使文件无效,在缓存文件中搜索
安装
安装此扩展的首选方式是通过 composer
运行以下命令之一
composer require ale10257/yii2-opcache "dev-master"
或
ale10257/yii2-opcache "dev-master"
将以下内容添加到您的 composer.json
文件的 require 部分。
用法
扩展安装后,只需在代码中通过以下方式使用它
... 'modules'=>[ ... 'opcache'=>[ 'class'=>'ale10257\opcache\OpcacheModule', ], ... ]
前往路由 ['/opcache/default/index']
屏幕
理解OpCache
@see https://habrahabr.ru/company/mailru/blog/310054/ (俄语)
@see http://jpauli.github.io/2015/03/05/opcache.html (英语)
备注:
基于 https://sabini.ch/cms/perevod-nastroek-zend-opcache.html 进行俄语设置翻译