2017 © Pedro Peláez
 

symfony-bundle ezsmartcacheclear-bundle

eZ Platform Bundle providing cache clearing features

image

novactive/ezsmartcacheclear-bundle

eZ Platform Bundle providing cache clearing features

  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

eZ (platform) Smart Cache Clear Bundle

master Build Status

About

This eZ Platform bundle intends to provide an eZ publish like smart cache clearing mechanisme., (*1)

The following clearing rules are available :, (*2)

  • parents
  • siblings
  • children
  • subtree

Installation

The recommended way to install this bundle is through Composer. Just run :, (*3)

composer require novactive/ezsmartcacheclear-bundle

Register the bundle in the kernel of your application :, (*4)

// app/AppKernel.php
public function registerBundles()
{
    $bundles = [
        // ...
        new Novactive\eZSmartCacheClearBundle\NovaEzSmartCacheClearBundle(),
    ];

    ...

    return $bundles;
}

Configuration

Once the bundle registered, you should configure the rules you want to apply for your content types, by defining the following config :, (*5)

nova_ez_smart_cache_clear:
    config:
        my_siteaccess:
            publish:
                -
                    content_type: my_content_type
                    rules:
                        parents: { enabled: true, nbLevels: 4 }
                        children: { enabled: true }
                        siblings: { enabled: true }
                        subtree: { enabled: true }

License

This bundle is released under the MIT license. See the complete license in the bundle:, (*6)

LICENSE

The Versions