Introduction to Memcached: server side data caching Updated on October 28, 2021 by Carrie Smaha 1 Minutes, 19 Seconds to Read Memcached is a server side caching system that is free and open source, and can be installed on any VPS or dedicated server. A caching system can dramatically improve the performance of your website. How does Memcached work? Memcached stores the data in the memory and when the data is needed the application checks for the data in the memcache via its daemon. Memcached has the ability to store SQL queries, that way the next time the query is ran, it can return the result from memory. Sometimes there’s confusion over Memcache and Memcached. Memcache is the PHP extension for Memcached. The two must be used together to function properly. Just installing Memcached will not improve your site’s performance. You must modify your coding to use memcached correctly. Differences between Memcached and other caching systems Other systems like APC, allow you direct access to the cached information. Memcached caches data and not parsed scripts as APC does. This makes Memcached perfect to optimize MySQL.Memcached is better suited for use with large caches that change versus APC which is not. For more information on APC please read our article. How do I install Memcached? If you are a VPS or dedicated customer and have root access to your server, you can install it yourself.We can install it for you, however in most cases it does require an installation fee due to the nature of the install. If you are looking for a VPS solution, check out how we create a fast VPS. If you need further assistance please feel free to contact support. Share this Article Carrie Smaha Senior Manager Marketing Operations Carrie enjoys working on demand generation and product marketing projects that tap into multi-touch campaign design, technical SEO, content marketing, software design, and business operations. More Articles by Carrie Related Articles How To Create a PHP Redirect (301, 302, and Dynamic Redirect Examples) Connect to SFTP for Shared Hosting Accounts Using FileZilla FTP Basics for Dedicated Servers How to Install Jekyll and Launch a New Site How to Host AI-Prompt Generated Websites on Shared Hosting What is your default PHP.ini file? Getting Started Guide: FTP Configuring your site in WS_FTP Schedule Social Media Posts With Buffer FTP Error – 421 Too Many Connections