# Caching with Memcached and APC

By Ben Ramsey

- **Date:** May 21, 2010
- **Event:** php|tek
- **Venue:** Sheraton Gateway Suites O'Hare
- **City:** Chicago, IL, US

---

- [View slides](https://speakerdeck.com/ramsey/caching-with-memcached-and-apc-php-tek-2010)
- [Download PDF](https://files.benramsey.com/talks/2010/phptek/bramsey-memcached-apc-tekx2010.pdf)
- [Read feedback](https://joind.in/talk/view/1599)

---

Today’s high-traffic web sites must implement performance-boosting measures that reduce data processing and reduce load on the database, while increasing the speed of content delivery. One such method is the use of a cache to temporarily store whole pages, database recordsets, large objects, and sessions. While many caching mechanisms exist, memcached provides one of the fastest and easiest-to-use caching servers. Coupling memcached with the alternative PHP cache (APC) can greatly improve performance by reducing data processing time. In this talk, Ben Ramsey covers memcached and the pecl/memcached and pecl/apc extensions for PHP, exploring caching strategies, a variety of configuration options to fine-tune your caching solution, and discusses when it may be appropriate to use memcached vs. APC to cache objects or data.


