Symfony is generally great for web application of any size. However, as a developer, you should always think about scaling your application. Throughout this chapter, we have looked at how we can compress the response and send it back to the user's browser. This alone showed us that the page size was drastically reduced. Moving on to speeding up the processing of our application, we introduced Symfony's caching framework, which again sped up the response time. Finally, we easily configured Symfony to use a memcached server, rather than the default file-based caching. This not only sped up the application, but also showed how we can potentially reduce the database and application processing by serving content from the system memory. Of course, there is nothing stopping you from using memcached
along with XCache.
Besides looking at how we can configure Symfony to use caching and compression, we looked at several other useful tools to aid in speeding up your web applications.