toa/apc-bundle

Apc Bundle for Symfony2

Installs: 86

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

Type:symfony-bundle

dev-master 2013-12-14 07:47 UTC

This package is not auto-updated.

Last update: 2021-04-25 23:14:14 UTC


README

This Bundle clears the APC cache on the very first request after cache warmup.

Build Status Code Coverage Scrutinizer Quality Score Dependency Status

SensioLabsInsight Latest Stable Version Total Downloads

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