vivomedia/fusion-cachevisualisation

Tool to debug cache configurations in Neos Fusion

1.1.0 2020-03-12 08:46 UTC

This package is auto-updated.

Last update: 2024-04-11 21:09:51 UTC


README

Latest Stable Version Total Downloads License Maintainability

Fusion Cache Visualisation

Helps to debug cache configurations in Neos Fusion.

This is just a debugging tool and highly recommended to use in development context only.

What it provides

This plugin adds a wrapper around all cached and uncached segments to visualise them. Also it provides additional information for each segement:

Cached Segments

  • Fusion path
  • Cache tags
  • Lifetime

Uncached Segments

  • Fusion path
  • Context variable names

Install

Composer

Install via composer as a dev package

php composer.phar require --dev "vivomedia/fusion-cachevisualisation"

Flow

After install clear the content cache of your flow/neos application.

./flow flow:cache:flush --force

jQuery

The plugin uses jQuery. Please ensure that it's loaded early enough.

Configuration

You can enable and disable the plugin within your Settings.yaml

VIVOMEDIA:
  Fusion:
    CacheVisualisation:
      enabled: true # Or false

It is enabled by default for the development context.

Please keep in mind to clear the cache after enabling/disabling the plugin.

Screenshots

Cached segment Unached segment