ale10257/yii2-opcache

软件包

安装: 25

依赖: 0

建议者: 0

安全: 0

星标: 0

关注者: 0

分支: 4

类型:yii2-extension

1.04 2017-05-19 11:19 UTC

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']

屏幕

Status Files Config

理解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 进行俄语设置翻译