Add more classes to cache

| Q             | A
| ------------- | ---
| Bug fix?      | no
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | symfony/symfony-standard#464 , sensio/SensioDistributionBundle#76
| License       | MIT
| Doc PR        | ~

This PR adds more classes to cache.
See the discussion in sensio/SensioDistributionBundle#76