[Config] Allow to set the size of the cache.

- This also fixes a bug which lead CocoaPods to always use the
  aggressive cache.