We're using APC, and it's a propel project. Still super duper slow! I ended up writing my own mini version of sfSuperCache that bypasses Symfony, but at the same time uses Symfony's cache.
It is about 5ms slower than serving a static HTML file. Quite impressed with myself. Might release it as a plugin if I can tidy it up. Thanks anyway! On 1 Oct, 14:55, Mariusz Sasinski <[email protected]> wrote: > > We've been doing some tests, and even with pages that are cached with > > the layout, the overhead Symfony produces is phenomenal compared to > > just reading a file from the server. > > Well, it's hard to expect symfony to be as fast as a static html file > First of all you need to have XCache or APC installed. Then, if you are using > Doctrine, you should also configure your project to use Doctrine_Cache to > either use Memcache or APC, and add ->useResultCache(true); to your queries. > > You may also switch to Nginx, with php-cgi. > > Last but not least, read this and see if you can implement some of the > suggestions from this articlehttp://developer.yahoo.com/performance/rules.htm > > Mariusz --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en -~----------~----~----~----~------~----~------~--~---
