Memcache with PHP
Memcache is Free & open source, high-performance, distributed memory object caching system which improves the website performance
In simple words every time your website opens it fetches data from database. Memcache cache this data locally on temporary cache so that every time your website page open it won’t run sql queries to fetch data from DB.
How to Install Memcache in Ubuntu