Magento Site Performance Optimization
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
Chapter 4<br />
• If you become addicted to performances, HHVM is now supporting<br />
Fast-CGI through Nginx and Apache. You can find out more about that at:<br />
http://www.hhvm.com/blog/1817/fastercgi-with-hhvm.<br />
Summary<br />
In this final chapter, we learned how to take advantage of different caching<br />
mechanisms in order to store—instead of recomputing—the requests of your<br />
customers, in terms of HTTP requests, PHP byte code, random objects, and<br />
dynamic blocks using Varnish, APC, memcached, and Lesti::Fpc, respectively.<br />
We also successfully used the HHVM from Facebook to serve <strong>Magento</strong>. This last<br />
improvement brings incredible performances.<br />
Overall, this book allows <strong>Magento</strong> to be served in a fraction of the time required<br />
before. Indeed, the default time was over 110 seconds for our stress test, while the<br />
required time at the end of this chapter is less than 5 seconds. In conclusion, using all<br />
the technics seen in this book will result in <strong>Magento</strong> being sped up 20 times faster, if<br />
you are fearless enough to use HHVM, or 6 times otherwise.<br />
[ 75 ]<br />
www.it-ebooks.info