toa / apc-bundle
Apc Bundle for Symfony2
Installs: 87
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
Type:symfony-bundle
Requires
- symfony/framework-bundle: ~2.1
This package is not auto-updated.
Last update: 2024-12-16 16:46:11 UTC
README
This Bundle clears the APC cache on the very first request after cache warmup.
Installation
Add this bundle to your composer.json
file:
{
"require": {
"toa/apc-bundle": "dev-master"
}
}
Register the bundle in app/AppKernel.php
:
// app/AppKernel.php
public function registerBundles()
{
return array(
// ...
new Toa\Bundle\ApcBundle\ToaApcBundle(),
);
}
Configuration
Set the bundle's configuration in app/config/config.yml
:
# app/config/config.yml
toa_apc:
auto_clear:
opcode: true # system cache
user: true # user cache