https://github.com/novactive/ezsmartcacheclear-bundle
This eZ Platform bundle intends to provide an eZ publish like smart cache clearing mechanisme.
https://github.com/novactive/ezsmartcacheclear-bundle
Last synced: about 1 year ago
JSON representation
This eZ Platform bundle intends to provide an eZ publish like smart cache clearing mechanisme.
- Host: GitHub
- URL: https://github.com/novactive/ezsmartcacheclear-bundle
- Owner: Novactive
- License: mit
- Created: 2018-05-05T01:29:25.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2018-05-05T15:13:57.000Z (almost 8 years ago)
- Last Synced: 2025-02-01T02:47:30.523Z (about 1 year ago)
- Language: PHP
- Size: 12.7 KB
- Stars: 1
- Watchers: 6
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# eZ (platform) Smart Cache Clear Bundle
master | [](https://travis-ci.org/Novactive/ezsiteaccessmatchers-bundle)|
--------|---------|
## About
This eZ Platform bundle intends to provide an eZ publish like smart cache clearing mechanisme.
The following clearing rules are available :
* parents
* siblings
* children
* subtree
## Installation
The recommended way to install this bundle is through [Composer](http://getcomposer.org/). Just run :
```bash
composer require novactive/ezsmartcacheclear-bundle
```
Register the bundle in the kernel of your application :
```php
// 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 :
```yaml
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:
```bash
LICENSE
```