0

我找不到任何关于缓存捆绑配置的教程或有用信息。

基本上,我的捆绑包加载了很多(20 多个)标记服务。我可以使用缓存来加速编译器通过吗?缓存应该如何工作?我能找到的唯一一点信息是Dumping the Configuration for Performance

4

2 回答 2

1

确保您使用的是 APC 缓存,因此您可以进一步缓存在 memcached/redis 流行的查询结果中(如预先填充的列表、类别和内容)。

如需进一步优化,请查看此演示文稿:

http://slides.seld.be/?file=2011-10-20+High+Performance+Websites+with+Symfony2.html#1

它真的震撼了你的世界!

于 2012-11-24T20:29:11.927 回答
0

每当您阅读组件部分时,请注意某些信息将针对在框架之外使用组件的人。

从您发布的链接:

In the full stack framework the compilation and caching
of the container is taken care of for you.
于 2012-11-24T21:46:39.880 回答