flownative/neos-cachemanagement 问题修复 & 功能扩展

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

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

flownative/neos-cachemanagement

最新稳定版本:3.0.0

Composer 安装命令:

composer require flownative/neos-cachemanagement

包简介

Neos cache management backend module

README 文档

README

MIT license Packagist Maintenance level: Acquaintance

Neos Cache Management Backend Module

Screenshot of the Cache Management Module

This Neos backend module provides cache management functions to Neos administrators who don't have access to a Flow shell. In this early version, the backend module simply allows for flushing different caches (Neos_Fusion_Content, Flow_Mvc_Routing_Route and Flow_Mvc_Routing_Resolve by default).

Installation

Simply install this package via Composer. The package key is flownative/neos-cachemanagement.

Configuration

Add labels to a cache configuration

To add a label and a description to a cache configuration, you can use the following configuration in your Settings.yaml:

Flownative:
  Neos:
    CacheManagement:
      caches:
        Neos_Fusion_Content:
          label: 'Neos Content'
          description: 'Caches the rendering of Neos content elements.'

Hide Cache-Hint

To hide the cache hint set the following configuration in your Settings.yaml:

Flownative:
  Neos:
    CacheManagement:
      ui:
        showCacheHint: false

Hide a cache configuration

You can hide all caches which do not have a label set by using the following configuration in your Settings.yaml:

Flownative:
  Neos:
    CacheManagement:
      ui:
        hideCachesWithoutLabel: true

or you can hide a specific cache configuration by using the following configuration in your Settings.yaml:

Flownative:
  Neos:
    CacheManagement:
      caches:
        Neos_Fusion_Content:
          hidden: true

Hide the backend class

To hide the backend class set the following configuration in your Settings.yaml:

Flownative:
  Neos:
    CacheManagement:
      ui:
        showBackendClass: false

Run a command after flushing a cache

If you want to run a flow command after flushing a cache, you can use the following configuration in your Settings.yaml:

Flownative:
  Neos:
    CacheManagement:
      caches:
        Neos_Fusion_Content:
          runAfter: 'foo:bar --baz'

Run the command asynchronously

To run the flow command asynchronously:

Flownative:
  Neos:
    CacheManagement:
      caches:
        Neos_Fusion_Content:
          runAfter:
            command: 'foo:bar --baz'
            async: true

统计信息

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

GitHub 信息

  • Stars: 6
  • Watchers: 2
  • Forks: 7
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2015-11-20